Continue Shopping Button Url ?

  • Posts: 5
  • Thank you received: 1
11 years 6 months ago #102683

Hi,

I want to add a "Continue Shopping" button to the checkout page that is displayed after the Add to Cart button is pressed.

In the system > configuration > checkout it says "Continue shopping button's URL" then a text box.

I assume I have to create a continue shopping button. I would like to keep the buttons uniform so where can I find the image for the Add to Cart button so I can download it and modify to suite?

Having created a new button should I uploaded to the same folder as the Add to Cart button?

You assistance would be greatly appreciated

Regards

Kerry

Please Log in or Create an account to join the conversation.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #102708

Hi,

If the "continue shopping" option is configured, the button will be automatically display in the "checkout | step" view.
You will find at the end of the view this content:

		if($this->continueShopping){
			if(strpos($this->continueShopping,'Itemid')===false){
				if(strpos($this->continueShopping,'index.php?')!==false){
					$this->continueShopping.=$url_itemid;
				}
			}
			if(!preg_match('#^https?://#',$this->continueShopping)) $this->continueShopping = JURI::base().ltrim($this->continueShopping,'/');
			echo $this->cart->displayButton(JText::_('CONTINUE_SHOPPING'),'continue_shopping',$this->params,JRoute::_($this->continueShopping),'window.location=\''.JRoute::_($this->continueShopping).'\';return false;','id="hikashop_checkout_shopping_button"');
		}
It display the button, just near the "next" one.

After that, if you want to customize the button, you can use some CSS.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Last edit: 11 years 6 months ago by Jerome.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1
11 years 6 months ago #102757

Hi Jerome,

Thank you for that. I assume I have to copy and paste the code but what file should I paste it into and where in the file?

Regards

Kerry

Please Log in or Create an account to join the conversation.

  • Posts: 26151
  • Thank you received: 4027
  • MODERATOR
11 years 6 months ago #102768

Hi,

No, you do not.

The code that I paste is already include in HikaShop, like I said, in the view "checkout | step".
You just have to fill the option "Continue shopping button's URL" with your url and the button will be display in the checkout.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1
11 years 6 months ago #102771

Hi Jerome,

Thanks for the reply but it seems that we are back were we started. What is the URL I have to put into the box (image attached)

I have gone to System > checkout and I see the box but I have no idea what to put in this box?

Can you tell me what I should put in the box so that the continue shopping button will be shown?

Thanks

Kerry

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 5
  • Thank you received: 1
11 years 6 months ago #102776

Hi Jerome,

Never mind I figured it out myself.

For those of you who are having this issue do the following. In the backend go to System > Checkout. On that page, approximately half way down you will see "Continue shopping button's URL" with the box next to it. Go to your frontend and click on your shop page. Copy the URL in the browser address bar ( www.yourdomainname.co.uk/index.php/online-store ) and paste it into the box in the backend and click save. Continue shopping will then work.

The following user(s) said Thank You: Jerome

Please Log in or Create an account to join the conversation.

Time to create page: 0.060 seconds
Powered by Kunena Forum