- Posts: 5
- Thank you received: 1
Continue Shopping Button Url ?
13 years 5 months ago #102683
by kerrynoy
Continue Shopping Button Url ? was created by kerrynoy
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
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.
13 years 5 months ago - 13 years 5 months ago #102708
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Continue Shopping Button Url ?
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:
It display the button, just near the "next" one.
After that, if you want to customize the button, you can use some CSS.
Regards,
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:
Code:
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"');
}
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.
Last edit: 13 years 5 months ago by Jerome.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102757
by kerrynoy
Replied by kerrynoy on topic Continue Shopping Button Url ?
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
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.
13 years 5 months ago #102768
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic Continue Shopping Button Url ?
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,
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.
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102771
by kerrynoy
Replied by kerrynoy on topic Continue Shopping Button Url ?
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
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
Please Log in or Create an account to join the conversation.
13 years 5 months ago #102776
by kerrynoy
Replied by kerrynoy on topic Continue Shopping Button Url ?
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.
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.142 seconds