Skip to main content
Solved

Same Product Images In Order Confirmation - WooCommerce

  • 6 June 2024
  • 1 reply
  • 27 views

Heya,

I’m making an order confirmation email (WooCommerce), however, for some reason, the image of the products is always showing the first one.
 


I am using this for the image:
{{ event.extra.Items.0|lookup:'$extra'|lookup:'Images'|lookup:'0'|lookup:'URL'|default:'' }}

I have a feeling that the “0” for the item number in the array doesn’t go up for each cycle when displaying every product in the order, but I’m not sure how I can make it do so.

Can anyone please give an idea?

1 reply

Userlevel 7
Badge +60

Hey @kiplario 

Have you exported this template to your woocommerce site and tested? Most transactional email templates are made to export into your site vs viewing in the Klaviyo enviroment.

Reply