Skip to main content
Solved

Adding product size in order confirmation

  • February 21, 2023
  • 2 replies
  • 343 views

Forum|alt.badge.img+2

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

Best answer by retention

@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.

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

2 replies

retention
Partner - Platinum
Forum|alt.badge.img+62
  • 2025 Champion
  • 944 replies
  • Answer
  • February 21, 2023

@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.


Forum|alt.badge.img+2
  • Author
  • Contributor I
  • 1 reply
  • February 22, 2023

This worked perfectly

Thank you so much