![]() |
Continue Shopping in 4.2.2?
Anyone have a mod or method to edit the continue shopping button to return to the previous page in 4.2?
Thanks! Lyn |
Re: Continue Shopping in 4.2.2?
How about using the js "history"?
|
Re: Continue Shopping in 4.2.2?
Yes, thought of that, but wondered if there was a more elegant solution. There was a module developed in my old cart (miva merchant) that actually tracked the customers location and returned them to the exact page they clicked the add to cart button. I was just wondering of something like this has been developed in xcart.
Thanks, Lyn |
Re: Continue Shopping in 4.2.2?
This is just a thought I had (didnt confirm it) but xcart does track the last page the person was on. Usually tracked for stats (paths through website), you may be able to use the last path as a point.
|
Re: Continue Shopping in 4.2.2?
So far, i'm just using the javascript back solution. . . Here's what I did:
Changed this line in the /modules/Fast_Lane_Checkout/home.tpl From: {include file="customer/buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="div_button" href="home.php" additional_button_class="flc-1-button"} To {include file="customer/buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="div_button" href="javascript:history.back()" additional_button_class="flc-1-button"} Hope that helps someone. Lyn |
Re: Continue Shopping in 4.2.2?
Thanks for the mod. I love the simplicity and it works in 4.2.1.
|
Re: Continue Shopping in 4.2.2?
Thanks! Also works in 4.3.0.
Can anyone help me identify the template file to modify to add a second "Continue Shopping" button to the bottom of the cart page to the left of the second checkout button? |
Re: Continue Shopping in 4.2.2?
Use webmaster mode - it will tell you exactly which template
|
Re: Continue Shopping in 4.2.2?
Thank you sir, tried that before but could not find it until the third looksie!
Anyone else interested in adding a second continue shopping button the code is in customer/main/cart.tpl line 143 in 4.3.0 Existing code: {if !$std_checkout_disabled} <div class="checkout-button"> {include file="customer/buttons/button.tpl" button_title=$lng.lbl_checkout href="cart.php?mode=checkout" additional_button_class="main-button"} </div> Change to: {if !$std_checkout_disabled} <div class="checkout-button"> {include file="customer/buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="div_button" href="javascript:history.back()" additional_button_class="flc-1-button"} <div class="button-separator"></div> {include file="customer/buttons/button.tpl" button_title=$lng.lbl_checkout href="cart.php?mode=checkout" additional_button_class="main-button"} </div> |
Re: Continue Shopping in 4.2.2?
Quote:
|
All times are GMT -8. The time now is 04:38 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.