returning to top of page vs. middle of page with add to cart

General ShopSite user discussion

returning to top of page vs. middle of page with add to cart

Postby gourmetdelights » Thu Jan 17, 2013 11:37 am

Looked through the forum and did some searches but could not find this answer.

I also looked at Commerce > Order System > Shopping Cart and did not see any relevant option/checkbox.

Maybe someone can help.

Using ShopSite® Pro 11 sp2 r4.

Assume a long page of items. Such as http://www.gourmet-delights.com/store/everything.html

Scroll part way down and you see something you want. So you add it to your cart. You are returned to the TOP of the page.

This means you need to scroll down quite a bit to be back to where you wanted to be to continue shopping. Frustrating.

Is there some way to return to where you were, the product you were on, when you added it to your cart? Basically continuing to shop without having to go through products you've already viewed.

Thanks.
http://gourmet-delights.com
Exceptional Foods at Realistic Prices
We ship worldwide
FREE shipping to all US States, Territories, AP/AE
gourmetdelights
 
Posts: 88
Joined: Thu May 19, 2011 4:59 pm

Re: returning to top of page vs. middle of page with add to

Postby Jim » Mon Jan 21, 2013 7:20 am

The shopping cart uses the "referrer" information passed by the browser when the product is added to the cart to know where the shopper should be returned. Since the referrer information is just the url to the page the product is on, I don't think there is a way to get it to go back directly to the location on the page where the shopper was when the order button was clicked.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: returning to top of page vs. middle of page with add to

Postby gourmetdelights » Thu Feb 14, 2013 2:07 am

I was hoping there was something with Anchors or the ID Attribute that would help.... anyone have ideas?

Thanks!
http://gourmet-delights.com
Exceptional Foods at Realistic Prices
We ship worldwide
FREE shipping to all US States, Territories, AP/AE
gourmetdelights
 
Posts: 88
Joined: Thu May 19, 2011 4:59 pm

Re: returning to top of page vs. middle of page with add to

Postby robm » Thu Feb 14, 2013 7:29 am

The only way this would be possible would be to use JavaScript and AJAX to capture the add to cart action, and submit it silently via AJAX. This way the customer never actually leaves the page they are on. It's complicated, but it can be done.

Rob
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Re: returning to top of page vs. middle of page with add to

Postby gourmetdelights » Thu Apr 18, 2013 8:05 pm

Rob, that would be a very cool feature at Lexiconn and would be strong motivation to make me consider moving host companies. FYI/FWIW
http://gourmet-delights.com
Exceptional Foods at Realistic Prices
We ship worldwide
FREE shipping to all US States, Territories, AP/AE
gourmetdelights
 
Posts: 88
Joined: Thu May 19, 2011 4:59 pm

Re: returning to top of page vs. middle of page with add to

Postby robm » Thu Apr 18, 2013 8:27 pm

We have an add-on coming out in the next month that does just this. It uses Ajax to add to the cart without taking the visitor off the page... :D

Rob
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut

Re: returning to top of page vs. middle of page with add to

Postby robm » Thu Aug 22, 2013 10:12 am

Just wanted to let you know we've released our Ajax Add to Cart Module that allows adding to the cart without taking the customer off the page or even moving them from their current location:

http://www.lexiconn.com/ecommerce/shopsite/ajax-add-to-cart-module.html

Rob
robm
 
Posts: 463
Joined: Fri Aug 04, 2006 5:46 pm
Location: Connecticut


Return to User Forum

Who is online

Users browsing this forum: No registered users and 71 guests