I’ve been building abandoned cart, checkout and browse email flows, following the instructions in:
- How to Insert a Dynamic Image in an Email (new editor)
- How to Insert a Dynamic Image in an Event-Based Flow Email (classic editor)
- How to Build Dynamic Blocks in a Flow Email (new editor)
- How to Build Dynamic Blocks in a Flow Email (classic editor)
- How to Build Dynamic Blocks in a Flow Email
- Repeating a Block Based on Dynamic Data
I can get the table to repeat, and bring in the subsequent products. However, if there’s more than one item in the abandoned basket it shows the text of those products twice (i.e. if there were two products in the basket, it shows product 1, product 2, product 1, product 2).
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/1838ec3d-8d21-4fe8-a8bb-286c95dd9e6e.png)
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/598f90ca-58d0-4ae1-84f6-b08d8ff6faef.png)
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/2abe2402-2012-454b-a17a-4426a68a290f.png)
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/bacf9e9b-92d7-4e7c-86ed-05d25ad0d9e0.png)
Also, for some reason I can only seem to bring in the image from the first product (‘0’) and that then repeats so it shows for the wrong items. I know it’s because the variable is wrong, but I’ve played with iterations of what I think it should be and it doesn’t work. I’ve tried:
- {{ event.extra.line_items.product.images.src }}
- {{ item.product.images.src }}
- {{ event.extra.line_items.product.images.url }}
- {{ item.product.images.src }}
![](https://uploads-us-west-2.insided.com/klaviyo-en/attachment/273e5ae5-ff9d-476e-b5a7-43fb17b7ebeb.png)
I can see people have had similar problems, but the ‘solutions’ are either generic, not for these problems or don’t work.
TIA
Beth