The Continue Shopping button always takes the user back to the home page when using One Page Checkout (SSP).
To go back to the previous page after adding an item to the Shopping Cart, just follow the steps below:
1. Edit the cart.txt file.
2. Find this code:
<a href="${obj.cart.continueshoppingurl}" id="continueShopping2" class="button">${"Continue Shopping"|translate}</a>
3. Change it to this:
<a href="javascript:history.go(-2)" id="continueShopping2" class="button">${"Continue Shopping"|translate}</a>
4. Save.
No comments:
Post a Comment