Setting up Abandoned Cart flow - how to show what was in the basket?

  • 24 May 2021
  • 2 replies

Badge +3


How do I add the image/details of the product that they left in there cart?




Best answer by Spark Bridge Digital LLC 24 May 2021, 15:54

View original

2 replies

Userlevel 6
Badge +32

Hey Tracy, do you have abandoned cart data coming in from your site yet? That will be a key part since you’ll have specific event variables you’ll be putting into your template.


Most variables can be seen here:

But if you click ‘Preview’ in your email, you’ll see a sample event. And if you click the titles within that preview that might be something like ‘Product Title’, it’ll allow you to copy that variable to paste into your template. Like ‘{{ event.extra.line_items.0.product.title }}’ would pull in that title for Shopify.


If you want your table to be dynamic over an array, meaning repeating for each item in the cart - you’ll need to adjust that variable to ‘{{ item.product.title }}’ and follow these steps to build your array table - (Step Four).


Seems tricky but easy once you get past the initial setup - let me know if you have any questions!


Badge +3

Thank you so much,All sorted!