Skip to main content
Solved

Same Product Images In Order Confirmation - WooCommerce

  • June 6, 2024
  • 1 reply
  • 53 views

Forum|alt.badge.img

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.

View original
Did this topic or the replies in the thread help you find an answer to your question?

1 reply

stephen.trumble
Community Manager
Forum|alt.badge.img+60
  • Community Manager
  • 1518 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.