Order confirmation email based on product type

Highlighted
New Member
1 0 0

I'm trying to customize our order confirmation email based on the products they've ordered. I specifically want to differentiate the message when they place a donation vs order a t-shirt. The donation options are set up as 'Donation' for product type.

I've tried every combination I could find on the web (including product.type == 'Donation' and product.title contains 'Donation') , but it never returns the intended message in the test/preview. Any thoughts? Thank you! 

0 Likes
Highlighted
Shopify Partner
1172 34 220

try line.title

https://help.shopify.com/manual/sell-online/notifications/email-variables#line-item

 

Available for hiring. Reach me at lixon@ecommercestudio.in
0 Likes
Highlighted
New Member
4 0 0

Thanks so much 

0 Likes