Empty cart automatically

General ShopSite user discussion

Empty cart automatically

Postby gdclarke » Mon Sep 24, 2007 10:08 am

Hi - We're just using Shopsite for check out from a custom ecommerce site. Is there a way to make sure the cart is empty before we send the user to the cart?

Thanks,
Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby Jim » Mon Sep 24, 2007 12:45 pm

Normally the cart would be empty for each shopper since each gets their own copy of the shopping cart file. The only way you might get a cart with products in it is if you send a link to the cart that includes the sbid from a previous shopping cart.

ShopSite keeps track of shopping carts based on cookies, so each shopper's browser has a cookie that tells what their shopping cart is. If cookies are disabled in the shopper's browser then the IP that the shopper is coming from and certain information about the browser they are using is used to keep track of the shopping cart. In very rare cases, such as people with cookies disabled AND coming from the same IP AND having exactly the same browser settings AND getting the same random number in the url, it might be possible for a cart to be viewed by another person but that would be extremely unlikely.

If you are using the cart yourself and want to make sure it is empty you can use the Empty Cart button or empty cookies in your browser to make sure that you start with a clean cart.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gdclarke » Mon Sep 24, 2007 12:54 pm

OK - Is there a way to clear the cookie in advance of sending the user to the shopping cart? Just in case.

Thanks,
Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby Jim » Mon Sep 24, 2007 1:25 pm

The cookie is on the user's browser so unless you have access to their computer there would be no way to do that. I think you are worrying about a non-issue. There is no need to send a url to the shopping cart to anyone, The add to cart buttons in your store send them to their own shopping cart and it should always be empty unless THEY have gone to the cart before and added products to it.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gdclarke » Mon Sep 24, 2007 1:54 pm

Jim - Let me quickly give you a description of what we're seeing and see if you have any suggestions how we might remedy the situation.

We have a number of stores/auction sites that use ShopSite for customer check out. Here is an example of one of the auction sites http://CCA.mediawebgear.com/.

This morning when a number of the auctions closed (+/- 160 auctions) several users went to checkout and and had "extra" products in their shopping carts when they should only have had 1. We've been unable to reproduce this problem. My hunch is that they had previously visited one of the sites and somehow the ShopSite Cart cookie was already populated.

So, we'd like to be able to empty the cart before we add an item and show it to the user.

Any suggestions would be appreciated.

Thanks,
Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby Jim » Mon Sep 24, 2007 2:06 pm

As far as I know there is no way that you could empty the cart of a user before they go to it if the cart already exists and has products in it.

There is an option to remove shopping carts after a certain length of time, which can be found under Commerce Setup > Order System > Shopping cart > Keep unfinished shopping carts: . YOu could set this to 1 and have all unfinished shopping carts removed after a single day but that would still not prevent a person from having multiple items which they added to the cart in a single day.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gdclarke » Mon Sep 24, 2007 2:21 pm

Jim - Thanks. That sounds like a first step. Just to confirm, there's no way you know of to empty a users cart for them, other than what you describe in Commerce Setup > Order System > Shopping cart > Keep unfinished shopping carts:

Thanks,
Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby Jim » Mon Sep 24, 2007 3:13 pm

As far as I know there is no way.

What would happen if they want to add 2 items to the cart? If you were to empty the cart each time you added to the cart they could never get more than one item in the cart. This may be what you want but it is not something that most merchants want.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gdclarke » Tue Sep 25, 2007 7:08 am

Jim - We're experiencing more strange behavior from the ShopSite cart. Is it possible to have a discussion with you offline? I'd rather not describe the details in the forum.

grahamc AT 53tech.com

Thanks,
Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby Jim » Tue Sep 25, 2007 7:58 am

If you are having specific problems you should contact the host for your store who should be providing help. If need be they can escalate issues to the ShopSite support team if they need additional help.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Postby gdclarke » Wed Sep 26, 2007 11:05 am

Jim - I have been in constant contact with PAIR - my hosting company on this issue since yesterday morning. The response from ShopSite to PAIR has been more than a little disappointing.

PAIR has been trying to facilitate a conference call with your technical staff. Again, ShopSite's response has been very disappointing.

In my efforts to debug this problem I've identified a way for one customer to view another customer's shopping cart.

Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby gdclarke » Wed Sep 26, 2007 11:08 am

Jim - Just so you have a sense of what we're doing, the customer at the end of this is Clear Channel Radio. One of the largest media companies in the US.

This is the first test of a new product they are using that utilizes ShopSite OrderAnywhere.

Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby nicolas » Fri Sep 28, 2007 8:49 am

Graham,

I am an end user of ShopSite.
Sorry to know you are having issues.
I read your whole thread and was wondering how were you able to "pass" the customer cart to another one ?

I create a thread cookie or not cookie and it is what I am trying to do.

Any advice.

Thank You

Nicolas
nicolas
 
Posts: 12
Joined: Mon Sep 24, 2007 4:02 pm

Postby gdclarke » Fri Sep 28, 2007 9:16 am

Nicolas - Not exactly sure what you mean. Do you want two customers to share 1 cart? Or just to pass the customer from your application to the cart?

Graham
gdclarke
 
Posts: 9
Joined: Mon Sep 24, 2007 10:05 am

Postby nicolas » Fri Sep 28, 2007 9:51 am

I would like to pass one cart from one session (1 customer) to another session (1 customer representative)

Nicolas
nicolas
 
Posts: 12
Joined: Mon Sep 24, 2007 4:02 pm

Next

Return to User Forum

Who is online

Users browsing this forum: No registered users and 119 guests