Abandoned Cart / Dynamic element does not work

  • 16 May 2023
  • 1 reply

Badge +1

Hi Community, 

I use a cart abandoned flow with a dynamic element, which does not work. The customer should be able to see, the product picture of the item in the cart, but the test mails don’t show anything. 

Alle the products are connected with Shopify and are on stock.

I use the following code which I saw in the community, but it does not really work:


{% if item.product.variant.images.0.src %}{{item.product.variant.images.0.src}}{%else%}{{item.product.images.0.src|missing_product_image}}{%endif%}

Can you tell me the mistake I am making?



Best answer by stephen.trumble 17 May 2023, 03:31

View original

1 reply

Userlevel 7
Badge +60

Hey @ChristianSeyffer 

Welcome to the community, happy to help!

I found this great video on how to setup a dynamic table block within your abandoned cart emails. I would suggest going through these steps to see what was possibly missed. The most common missed step is changing the block from static to dynamic, but the video should help you troubleshoot what went wrong.

Let me know if this doesn’t help you solve the challenge. Thanks again for being part of the Klaviyo community!