Developer forum

Forum » Ecommerce - Standard features » cart lifetime not working as expected

cart lifetime not working as expected

Siv-Renate Hansen
Siv-Renate Hansen
Reply

On a client site, we've set the cart lifetime to 30 days, but yesterday, a customer of theirs completed a purchase with a cart from early December. How do these carts work? Is the lifetime set from our  configuration point and onwards or do they apply to older carts as well? In ecom ->orders, I see that there are carts back to Nov 13th (the date when we upgraded the site)

How do I proceed in order to get rid of old carts? We believe they cause issues with language and currency combinations


Replies

 
Nicolai Pedersen
Reply

Hi Siv

We never delete carts. We send a cookie to the user browser, and that cookies has an expiration date. See my dump from developer tools.

So once this cookies has been set, the cookie will not expire - so changing the value will only affect new carts. The cookie is renewed everytime the user visits the page no matter if they change the cart or not.

Capture.JPG

 

You must be logged in to post in the forum