Skip to main content

I’ve spoken to four agents, read all of the documentation and still cannot get this to work. 

Finally this evening, Liam from support got the image and copy to show up in the abandoned cart emails ( first hurdle.) The most recent email in preview mode looks fine, But now we have several emails in preview mode where the item duplicates over and over again. 

I read the other two threads here in community and followed all of those suggestions, but this is still not working. Is this a bug? Do I need to wait for new events and then preview with those? 

 

I have changed the code 4 times based on the Klaviyo setup guide and then the three agents who gave me code. This is the only time I have been able to get any of the info to display in preview or preview email.

I have NOT added anything to “Content Repeat”

 

Does anyone see what is going on? I’ve been troubleshooting this for days now.

 

I should add I tired to follow along with this https://help.klaviyo.com/hc/en-us/articles/4408802597659#step-3--capture-the-event-variable6

 

And did not have the event. extra or line.items in my variables. So that did not work. 

 

Hey @genmai 

Yes, duplicating items in your abandon cart dynamic table can happen if there’s an incorrect addition to the code you insert when you’re building inserting the variable your table. For instance, if you’re adding the ‘0’ to any part of your code, it will call in the product details of the first item aka product 0 rather than pull in all product info (whether its 1 of various products) from the event data.

Your website is using which ecommerce platform? Shopify or woocommerce?

usually when choosing row alias, as explained in step 4 of this document you shared in your question, if your ecommerce is Shopify, ‘Row Collection’ is event.extra.line_items and if your ecommerce is Woocommerce then ‘Row Collection’ is usually event.extra.Items 

Let me know

Thanks

Arpit


Hello Thank you for your reply. 

I am using shopify. If you see the code above, there is no 0s

When I change ‘Row Collection’ to event.extra.line_items

the content no longer shows up in preview.

 

 


Hey @genmai 

Can you copy and paste, how it is exactly from the preview? maybe for the item name or quantity?


Reply