Prestashop > Image Product dynamic for a content repeat

  • 24 February 2022
  • 1 reply

Badge +4

Hi !

I create a abandoned flow with the new builder.

It’s working for the item with the method explains here

But not working for the picture.

the variable is {{ event.extra.line_items.0.Image }}

I try this but it’s not working.

CAn you help me ? Thanks



Best answer by Dov 25 February 2022, 15:29

View original

1 reply

Userlevel 7
Badge +61

Hi @evebreta,

Thanks for sharing this with us.

You should use “event.extra.line_items” in the “Repeat for” section and then use “item” as your alias.

Next, navigate back to the dynamic image, clicking “replace” and add in the new alias + the end-variable for the dynamic tag (in this case it’s Image).

That will do the trick!

For more information on inserting dynamic variables into our new template editor, I recommend checking out our guide on this topic here.

Thanks for being a member of our community!