Solved

Abandon Cart Issues

  • 9 February 2023
  • 3 replies
  • 68 views

Badge +1

Hello everyone! 

 

We are experiencing some loss of details in our Abandon Cart flow recently. Customers will lose certain products when they click our “Return To Cart” button, or details for their order will not come through after clicking the “Return To Cart” button either. We personalize our products, so we need our customers to be able to see the details they had entered into their cart previously. 

 

We just started experiencing this a month ago, with no prior issues. It also is not happening to every customer, just one every so often. Any ideas what we might be doing wrong, or any errors in coding? Any help is appreciated! Thank you! 

icon

Best answer by retention 9 February 2023, 23:44

View original

3 replies

Userlevel 7
Badge +58

Hi @Cheyy

Do you mind sharing with us which platform you’re on?

I suspect customers lost products because they are switching devices or using different browsers between sessions. Most platforms will pass a “token” in the return to cart URL which let’s the platform reconstitute the items in the cart even if the user is coming back from a different device (e.g. Phone to Desktop, or Work Computer to Home Computer).  But some platforms don’t do this natively and you’ll have to work with developers to implement this. 

Let us know which platform you’re on, examples of the code you’re using in the template, and I’m sure we’ll be able to help.

Badge +1

@retention Yes! We use Shopify’s platform. 

 

Our code looks like this one: {{ event.extra.checkout_url}} 

Userlevel 7
Badge +58

Hi @Cheyy, just to loop back on this - Shopify has a fairly robust system of “rebuilding a cart” from the checkout_url so this should work out of the box.  However, items in a cart don’t stay around forever in Shopify’s cache (they have to store every customer’s cart items on their server since they have to rebuild it from the URL).  I found this response in Shopify’s community:

Checkouts that aren't draft orders and haven't converted to orders will be purged if:

  • They were created more than 3 months ago.
  • They haven't been updated in 1 month.
  • They don't have a transaction attached to them (any transaction data will prevent deletion, failed or not).

 

It is possible that some of the items “expired” and hence why they don’t work?  Did you notice this only for customers who try to click on the link beyond 30 days?

 

Reply