Save cart in checkout?

122 4 17

During Shopify store checkout, how can someone saves a cart, and come back later to finish?

I don't mean abandoned cart recovery, instead customers/visitors intentionally save the cart for later checkout. Ideally the person can be provided with a cart link that can be also shared. 

I have searched discussion groups, couldn't find anything. Appreciate any tips! 

Reply 1 (1)
22 0 4

The only way I see possible is custom code or the app store.


Custom code would involve adding a "save cart on this device" button that stores the current cart object in local storage. This would involve javascript knowledge.


Save the cart to local storage 

localStorage.setItem('userSavedCart', <the cart object here>);


Then retrieve the local storage item



And add all the line items from the stored data to a new cart via the cart.js api.