![]() |
Return to previous page after adding to cart |
Post Reply
|
| Author | |
joshs
Newbie
Joined: 07-April-2009 Location: Utah Status: Offline Points: 14 |
Post Options
Thanks(0)
Quote Reply
Topic: Return to previous page after adding to cartPosted: 26-May-2009 at 5:35pm |
|
I have been looking through the forum for some code or directions on how to modify my cart. I haven't seen any postings regarding this.
Customers add product to their cart and hit the continue shopping button only to return to the home page or default.asp.
How do I change that so they return back to the prior page or area in the category they were previously viewing?
Josh
|
|
![]() |
|
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 26-May-2009 at 5:40pm |
|
One option is to locate the code on the viewcart.asp page that displays "continue shopping" and alter it to have a javascript back reference.
Another alternative is this:
|
|
![]() |
|
macleather
Newbie
Joined: 23-June-2008 Location: Los Angeles Status: Offline Points: 3 |
Post Options
Thanks(0)
Quote Reply
Posted: 27-May-2009 at 7:54pm |
|
I've been using Greg's Add to Cart Confirmation for some time now and it's works flawlessly.
|
|
![]() |
|
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 27-May-2009 at 8:03pm |
|
The ATC mod and Session Saver are both very popular.
|
|
![]() |
|
Greg Dinger
Certified ProductCart Developers
Joined: 23-September-2006 Location: United States Status: Offline Points: 238 |
Post Options
Thanks(0)
Quote Reply
Posted: 30-May-2009 at 2:18pm |
|
ok, I just happen to be upgrading a site where I had installed the "javascript back" code. If you want this instead of my mod, which obviously I consider a solution, here ya go:
The unaltered code is around line 340 of viewcart.asp
<!-- gbdg altered original code <a href="default.asp"><img src="<%=RSlayout("continueshop")%>" border="0"></a> -->
<a href="javascript: history.go(-1)"><img src="<%=RSlayout("continueshop")%>" border="0"></a> |
|
![]() |
|
worldofrugs
Senior Member
Joined: 24-April-2008 Location: United States Status: Offline Points: 0 |
Post Options
Thanks(0)
Quote Reply
Posted: 05-June-2009 at 4:20pm |
|
My 2 cent: I would go with Greg's 'Add To Cart' module....
Absolutely worth the small fee! It gives such a nicer / more professional look to it and perfect functionality and is with his manual super easy to implement. And that's not even mentioning the aw-some support he gives with his products! Edited by worldofrugs - 05-June-2009 at 4:21pm |
|
![]() |
|
Post Reply
|
|
|
Tweet
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |