Go back to URL |
Go back to URL |
ApoMarn |
Jan 12 2017, 03:53 PM
Post
#1
|
Group: Members Posts: 6 Joined: 12-January 17 Member No.: 26,262 |
Is it possible to store the URL of the previous page, and how would you use this with a button?
I have an online shop and when someone puts something in the cart it takes them to 'cart.php' and onward to checkout. I have added a 'Continue shopping' button which takes the customer back a page. So far so good. However as the customer goes through the various stages, the php page keeps refreshing itself and the 'continue shopping' button only takes them back one stage. If fact if they empty the cart and then click the button, they return to the page with something in the cart. What I need is a button that contains the URL of the page they were on before cart.php. Can someone help please. |
Lo-Fi Version | Time is now: 27th April 2024 - 12:18 AM |