What's your biggest current challenge? Have your say in Community Polls along the right column.
Our Partner & Developer boards on the community are moving to a brand new home: the .dev community forums! While you can still access past discussions here, for all your future app and storefront building questions, head over to the new forums.

Cart does not store products when customer logs in to a different machine

Cart does not store products when customer logs in to a different machine

krutarth
Visitor
2 0 0

So This is the scenario:
1. I logged in with a user on a browser

2. I added a product to my cart

3. I logged out from that browser - the cart should be empty, but the same product stays in the cart page - when the user is logged out

4. I log in the user in incognito browser

5. The cart is empty for the logged in user.

 

notice in this image that I am logged in and cart shows 1 product

 

img-1.png

 

and here in another browser window with the same user, I am not getting the cart items:

img-2.png

 

Is there any way I can use the cart to attach with user instead of only browser storage.?

This is dawn theme - 12.0.0 - latest.

Replies 3 (3)

biznazz101
Shopify Partner
494 50 94

It is possible, but would require custom code to modify how the cart functions, someone else may be able to provide code, but it is somewhat complex, so likely will need to hire a developer to make these changes.
@biznazz101 

Don't hesitate to reach out for more help with your store.
SEE OUR TASK STORE or check us out via our profile! FREE STORE AUDIT

inkedwolf96
Visitor
2 0 0

Did you find a solution Krutarth

krutarth
Visitor
2 0 0

No, it was as  the other answer said, it would require custom code to implement and not something that can be shared here. I however decided to skip this feature for now.