Skip to main content
Solved

Same Product Images In Order Confirmation - WooCommerce

  • June 6, 2024
  • 1 reply
  • 99 views

Forum|alt.badge.img+2

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?

Best answer by stephen.trumble

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.

This topic has been closed for replies.

1 reply

stephen.trumble
Forum|alt.badge.img+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.