Custom Template Question
Posted: Mon Aug 05, 2002 10:58 pm
Hi all,
Is there a way in a custom template to create a back button that links back
to the original referring page?
I used an anchor with an [A HREF="javascript:history.go(-1)"]Return To
Previous Page[/A] , the problem is it users the browsers history rather than
going back to the original page. This works great if the person isn't coming
out of the shopping cart screens (because if they hit the Return To Previous
link I created it takes them back to the cart).
An example of what I'm trying to do:
I have a page called accessories, that lists 10 or so products. The user
sees a widget he wants and clicks the widget's "more info" button. They go
to a more info page. Is there code or a custom shopsite tag that can take
them back to the original back to the original accessories page without
relying on the browsers history?
I hope I'm explaining this okay, since I'm feeling very stupid right now
Thanks,
Andy
Is there a way in a custom template to create a back button that links back
to the original referring page?
I used an anchor with an [A HREF="javascript:history.go(-1)"]Return To
Previous Page[/A] , the problem is it users the browsers history rather than
going back to the original page. This works great if the person isn't coming
out of the shopping cart screens (because if they hit the Return To Previous
link I created it takes them back to the cart).
An example of what I'm trying to do:
I have a page called accessories, that lists 10 or so products. The user
sees a widget he wants and clicks the widget's "more info" button. They go
to a more info page. Is there code or a custom shopsite tag that can take
them back to the original back to the original accessories page without
relying on the browsers history?
I hope I'm explaining this okay, since I'm feeling very stupid right now
Thanks,
Andy