A
A
Alexander2016-04-29 10:33:08
PHP
Alexander, 2016-04-29 10:33:08

How to make a "Continue shopping" button?

Please help
I need to make a "Back to shopping" button in the shopping cart. This button should return the site visitor to the page from which he went to the basket, how to make such a button? How to generate the necessary link in it?
The engine is self-written

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Muhammad, 2016-04-29
@Dredder

Google REFERER:
echo $_SERVER["HTTP_REFERER"];

S
Sergey, 2016-06-28
@sergeyvidioreg

It’s easier not to do it from the basket, but through pop-up when adding goods to the basket. Divide into 2 buttons like "go to cart" and "continue shopping"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question