| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Continue Shopping in 4.2.2? | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() Anyone have a mod or method to edit the continue shopping button to return to the previous page in 4.2?
Thanks! Lyn
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() How about using the js "history"?
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#3
|
|||||||||
|
|||||||||
![]() 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
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
#4
|
|||||||
|
|||||||
![]() 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.
|
|||||||
#5
|
|||||||||
|
|||||||||
![]() 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
__________________
Lyn Askin X-Cart 4.2.3 MICR Toner Toner Cartridges X-Cart Search Engine Optimization |
|||||||||
|
#6
|
|||||||
|
|||||||
![]() Thanks for the mod. I love the simplicity and it works in 4.2.1.
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5 Linux |
|||||||
#7
|
|||||||||
|
|||||||||
![]() 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? |
|||||||||
#8
|
|||||||||
|
|||||||||
![]() Use webmaster mode - it will tell you exactly which template
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#9
|
|||||||||
|
|||||||||
![]() 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> |
|||||||||
#10
|
|||||||
|
|||||||
![]() Quote:
__________________
Thanks, Alex. Too many version to list. I have some on 3.51 and some on the latest version. |
|||||||
|
|||
X-Cart forums © 2001-2020
|