Where is cart object data stored? Client side? Server side?

Highlighted
New Member
3 0 0

Is cart data saved in client's session? Or saved in Shopify servers?
Specifically looking at custom cart attributes, these attributes are set on the cart page. Then the user completes checkout and places an order. The user then goes back to the homepage & creates a new cart. This new cart still has the previous cart's attributes. Why is that?

0 Likes
Shopify Expert
9849 98 1669

The local data is a token that relates to the cart on Shopify side. Depending on the theme however it's possible that extra data is also captured locally in cookie or localstorage objects.

★ Winning Partner of the Build a Business competition. ★ http://freakdesign.com.au
1 Like
Highlighted
New Member
3 0 0

@JasonHave you ever seen issues where the cart on Shopify server side is outdated? or data in a previous cart is used in the current cart?

0 Likes