Skip to main content
Solved

Eligible for Yotpo Review Request - customer has one product in the order but showing 6 products in the email

  • February 18, 2025
  • 5 replies
  • 45 views

Forum|alt.badge.img

Hi all,

I have orders with only one product, but the same product is repeated 6 times in the email. I am using dynamic tables to display the order information.

 Here are the screenshots with the configuration and code. Please let me know if you need any further information to resolve this. Thank in advance!

 

 

Best answer by retention

Hi ​@Gayatri, welcome to the community!

So looking at your event data from the preview, it only shows exactly one item for this particular event.  Having some experience with the “Eligible for Yotpo Review Request” event, I’m pretty sure it always only shows one item at time.

In that case, you don’t need to use the “dynamic” - you can switch to “static” because you’re not going to loop over more than one item.  Try switching to that and see if it works.

Double check to make sure you have the right variable names (e.g. event.product, event.product_image_url, etc)

Hope that helps!

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

5 replies

Amos Peace
Problem Solver III
Forum|alt.badge.img+5
  • Problem Solver III
  • 62 replies
  • February 18, 2025

Hello ​@Gayatri,

Your email is repeating the same product multiple times due to how the dynamic table is processing event data. Try these fixes:

  1. Check Data Source – Ensure the event collection contains only unique products.
  2. Inspect Looping – If the event contains multiple entries of the same product, the table will repeat it.
  3. Filter Duplicates – If possible, apply a filter to show only unique products.
  4. Verify Dynamic Variables – Ensure :event.product_name pulls distinct values.
  5. Limit Rows – See if your ESP allows restricting duplicates.

 

I hoe these helps.

 

Best Regards,


retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 949 replies
  • Answer
  • February 18, 2025

Hi ​@Gayatri, welcome to the community!

So looking at your event data from the preview, it only shows exactly one item for this particular event.  Having some experience with the “Eligible for Yotpo Review Request” event, I’m pretty sure it always only shows one item at time.

In that case, you don’t need to use the “dynamic” - you can switch to “static” because you’re not going to loop over more than one item.  Try switching to that and see if it works.

Double check to make sure you have the right variable names (e.g. event.product, event.product_image_url, etc)

Hope that helps!


MANSIR2094
Problem Solver IV
Forum|alt.badge.img+17
  • Problem Solver IV
  • 258 replies
  • February 18, 2025

Hello ​@Gayatri , It looks like your dynamic table might be looping incorrectly, causing the product to repeat multiple times. Check if your loop references the correct order object and ensure it only iterates once per item. Also, verify that the variable pulling product details isn’t duplicating entries. If needed, I can help debug the setup—just let me know!


retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 949 replies
  • February 18, 2025

@MANSIR2094 - I know that Yotpo event really well, they only show a single item and not a nested array of items.  So there’s nothing to loop over, which is why I suggested using a static table.


Forum|alt.badge.img
  • Author
  • Contributor I
  • 3 replies
  • February 21, 2025

Thank you so much! Making the table static fixed the issue. :)