Skip to main content
Solved

Abandoned Add to Cart Email not showing products in dynamic set up


Forum|alt.badge.img+1
  • Contributor I

The Add to Cart Metric is all set up & the Shopify integration is working (works for checkout started too) however when I am setting up the Abandoned Cart Flow with the trigger being Add to Cart & filter being Checkout Started zero times (we have an abandoned checkout flow set up too) the email they should receive with the dynamic block of what they had in their cart isn’t showing at all even though it has the correct dynamic variables from running preview tests etc.

This is driving me insane so any help would be appreciated to get to the bottom of this as our Checkout Started triggered flow is working fine.
 

Best answer by In the Inbox

Hi ​@y-f 

Thank you for posting your question in the community, and I fully understand the frustration that comes when your dynamic blocks don’t render as expect. Hopefully I can help.

One thing to note, the Added to Cart event works differently from the Checkout Started event. The Checkout Started event includes ALL products that were part of checkout. Whereas the Added to Cart event fires similar to the Browse Abandon event in that, it fires for each item that is added to your cart, when its added. 

Given this, the email should only include one product, the last product that was added to the cart.

Based on this, you would set up the dynamic cart elements similar to the Browse Abandon using event tags vs. event.item tags. You would also not need to configure the repeat function for the block/section. 

Your common tags for the Added to Cart would be:

Image URL: {{ event.ImageURL|default:'' }}

Product URL: {{ event.URL|default:'' }}

Product Name: {{ event|lookup:'Product Name'|default:'' }}

Price: {{ event.Price|default:'' }}

Quantity: {{ event.Quantity|default:'' }}

I hope that helps! Please let me know if you have any other questions.

@In the Inbox 

View original
Did this topic or the replies in the thread help you find an answer to your question?

2 replies

annasophiefc
Partner - Platinum
Forum|alt.badge.img+22
  • 2025 Champion
  • 100 replies
  • January 24, 2025

Hi ​@y-f 

 

Thank you for posting in the Community!

Would love to get this solved for you. When you are reviewing the metric ‘added to cart’ is it pulling in events?

 

You can build it yourself by pulling in the dynamic variables from the right hand side of the mail in the preview mode. Because it is a static event (not like the started checkout, that is dynamic pulling in several products). 

 

The image (set up as dynamic image in image block): {{ event.ImageURL|default:'' }}

The product name: {{ event.Name|default:'' }}
The price: {{ event.Price|default:'' }}

The url: {{ event.URL|default:'' }}

 

The above is based on a Shopify integration, so the variables may vary. However, these variables are available in preview-mode inside of the flow and you can pull them straight from there. It is more or less the same as described in this article: https://help.klaviyo.com/hc/en-us/articles/115002775252

 

Let me know if it works out!


In the Inbox
Partner - Platinum
Forum|alt.badge.img+31
  • 2025 Champion
  • 289 replies
  • Answer
  • January 24, 2025

Hi ​@y-f 

Thank you for posting your question in the community, and I fully understand the frustration that comes when your dynamic blocks don’t render as expect. Hopefully I can help.

One thing to note, the Added to Cart event works differently from the Checkout Started event. The Checkout Started event includes ALL products that were part of checkout. Whereas the Added to Cart event fires similar to the Browse Abandon event in that, it fires for each item that is added to your cart, when its added. 

Given this, the email should only include one product, the last product that was added to the cart.

Based on this, you would set up the dynamic cart elements similar to the Browse Abandon using event tags vs. event.item tags. You would also not need to configure the repeat function for the block/section. 

Your common tags for the Added to Cart would be:

Image URL: {{ event.ImageURL|default:'' }}

Product URL: {{ event.URL|default:'' }}

Product Name: {{ event|lookup:'Product Name'|default:'' }}

Price: {{ event.Price|default:'' }}

Quantity: {{ event.Quantity|default:'' }}

I hope that helps! Please let me know if you have any other questions.

@In the Inbox