Skip to main content
Solved

Same Product Images In Order Confirmation - WooCommerce

  • June 6, 2024
  • 1 reply
  • 71 views

Forum|alt.badge.img+1

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.

1 reply

stephen.trumble
Forum|alt.badge.img+60
  • Klaviyo Alum
  • 1515 replies
  • Answer
  • June 18, 2024

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.