Solved

Adding product size in order confirmation

  • 21 February 2023
  • 2 replies
  • 226 views

Badge +1

Hey everyone

I am trying to add the product size to each item ordered in the order confirmation email

I’ve added this code {{ event.extra.line_items.0.product.variant.options|lookup:'Select Size' }} but the problem is that when someone orders more than 1 product, it shows the same size in all the products on the order confirmation email

We are on shopify by the way

Happy to get help here

icon

Best answer by retention 21 February 2023, 22:51

View original

2 replies

Userlevel 7
Badge +57

@itsu600,

Since you’re on Shopify, and I’m assuming this code is in a Table Block, try this instead:

{{ item.product.variant.options|lookup:'Select Size' }}

If that doesn’t work, can you share a screenshot or more details on your Table Block “Row” settings?  It might look something like this:

Let me know if it worked or not.

Badge +1

This worked perfectly

Thank you so much

Reply