X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Continue shopping button - return user to last product category (https://forum.x-cart.com/showthread.php?t=73108)

xgarb 11-19-2015 07:07 AM

Continue shopping button - return user to last product category
 
In x4 I had it so the site 'remembered' the users last location (product) before they went to the cart page. The current x5 just takes them to the homepage where they have to find where they were again (or click back a few times but this isn't very friendly)

Anyone any tips/ideas on how to do this in x5. I guess I could just make the button a JS goback but it would nicer if I could take the user to the category that the last product they viewed was in.

qualiteam 11-19-2015 11:25 PM

Re: Continue shopping button - return user to last product category
 
My local X-Cart 5 installation returns me back to the product page when I click the "Continue shopping" button on the cart page.
Please could you provide more information on what exactly you do before it redirects you to the front page?

xgarb 11-20-2015 12:22 AM

Re: Continue shopping button - return user to last product category
 
It seems to happen if you click 'add to cart' from a product detail page.

For example

http://demostore.x-cart.com/acrobots.html
Click 'add to cart'
In the pop up 'View cart'
Cart page.. 'Continue shopping'

Back to the homepage.


All times are GMT -8. The time now is 11:19 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.