Solved

How to get a vertically-stacked abandoned cart flow?

  • 15 August 2023
  • 2 replies
  • 83 views

Badge +2

Trying to build a vertically-stacked, centred abandoned flow for a client and the info I’ve found in other forums are not working in this case. Can anyone advise how to create the vertically-stacked abandoned cart table in the updated Klaviyo? 

icon

Best answer by In the Inbox 15 August 2023, 19:48

View original

2 replies

Userlevel 6
Badge +31

Hey there! The way I typically do this is in a single dynamic text block. You can click into your text block and insert an image above your dynamic product title variable.

If you look at the source code, it kind of looks something like:

<div>
<div><img src="{{ item.product.images.0.src }}" alt="" width="300" /></div>

<div><span style="font-family: Poppins, Helvetica, Arial, sans-serif; font-weight: bold;"><a href="https://website.com/products/{{ item.product.handle }}"><span style="font-size: 20px;">{{ item.product.title }}</span></a></span></div>

<div><span style="font-size: 18px;">${{ item.variant_price }}</span></div>
</div>

Would love to hear from others on if there is another way as well! This is my go-to currently but I’m sure I’m stuck in my ways, haha 😜

Userlevel 7
Badge +29

Hi @lyonm 

In addition to @Spark Bridge Digital LLC recommendation above, I’ve been able to create vertical stacked dynamic blocks using the new Sections element within the builder. The section element allows you to configure it as a dynamic block similar to any individual content block like a table or text block, but because you are using a section, you can stack multiple content blocks and then have the dynamic repeat apply to all elements within that section. 

In this example, you can see the section outline with the image and text blocks stacked. 

 

I hope this helps!

@In the Inbox 

Reply