Skip to main content
Solved

Dynamic Table Duplicating Itself when more than 1 Product ordered


Forum|alt.badge.img+2
  • Contributor I
  • 2 replies

Hi,

I am encountering an odd issue with building a dynamic table in our click & collect flow. 

For scenarios where our click & collect customers have placed an order with 1x product, it displays perfectly.
i.e:




For orders where our customers have placed an order with 2+ products, the dynamic table duplicates (as a whole).

i.e:
 

Cuts off a little in the second screenshot, but you get the idea.

Any ideas on how to fix this?

 

Thanks, 

Caitlin

Best answer by Caito

Hi Dov,

Thanks - I reached out to support but managed to work out on my own that the variable looping feature was causing it to stuff up. Turning this off made the table function as intended, with orders of only 1x product showing only 1x product, orders of 2x only showing the 2 (no duplications) and so on and forth.
 

Hope this helps anyone still using the classic editor and looking to set up a dynamic table showing ordered products.

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

2 replies

Dov
Forum|alt.badge.img+61
  • Klaviyo Alum
  • 1493 replies
  • August 19, 2022

Hi @Caito,

Thanks for sharing this with us.

I recommend reaching out to our support team on this to have a closer look at the particular tags you’re using in your template as well as the setting of the block. There could be a number of things happening here that are hard to diagnose without looking at the particular template in more detail.

Once this gets squared away, it would be helpful if you could share the solution with the community in case something similar arises for another user :).

Thanks for being a community member.


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 2 replies
  • Answer
  • August 22, 2022

Hi Dov,

Thanks - I reached out to support but managed to work out on my own that the variable looping feature was causing it to stuff up. Turning this off made the table function as intended, with orders of only 1x product showing only 1x product, orders of 2x only showing the 2 (no duplications) and so on and forth.
 

Hope this helps anyone still using the classic editor and looking to set up a dynamic table showing ordered products.