Page 1 of 1

link back?

Posted: Thu Jul 29, 2004 2:16 am
by C_Calav
if you choose add item, then go to the cart page and you want to keep shopping and go back top the page you were just on, what is that called?

Posted: Thu Jul 29, 2004 2:20 am
by feyd
"continue shopping" or "previous location", there are many more.. I don't know of a definitive name..

Posted: Thu Jul 29, 2004 2:37 am
by C_Calav
yeah.. whats the PHP funcrtion if there is one to go back to where you were?

Posted: Thu Jul 29, 2004 2:39 am
by feyd
there is none that I know of. I use sessions for knowing where they came from.

Posted: Thu Jul 29, 2004 2:40 am
by C_Calav
ok, how do you direct them back using there session?

Posted: Thu Jul 29, 2004 2:53 am
by feyd
I store the last page in the session.. when you want to move backward from an ordering type page, I generate a link back to that page for "continue shopping"