I am trying to create an abandoned cart flow, however, when I preview my email it duplicates the products (in the dynamic table).
How can I fix this issue ?
I am trying to create an abandoned cart flow, however, when I preview my email it duplicates the products (in the dynamic table).
How can I fix this issue ?
Best answer by Taylor Tarpley
Hi there
Welcome to the Community! Happy to help!
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.
If you want to display the image of each item, you would have to structure the table block differently. Take the piece of code before the 0 in your event data and place it in the row collection section of the block below. This is explained further in step #4-5 in our Help Center documentation!
Thanks for participation in the Community!
-Taylor
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.