Shopify themes, liquid, logos, and UX
Hello!
We want to have dynamic information in the order confirmation email, so we can show importiant information based on what the customer has ordered. Ideally we want to use rules such as "if product ordered containts tag "PRODUCTTAG", to controll what text is being display in this email. I know this can be done with liquid code, but im am not sure how to reference it correctly in the order confirmation email template.
Hi @Joachimgolf
Welcome to Shopify Community.
Based on the information you've provided on this thread, it is better to use a metafield on the products instead of the product tags because you can list individual product metafields from the products that has been ordered using line.product.metafields variable (available as line item properties on email template).
Hope this helps.
Thank you.
Sajat
-------------------------------------------------------------------------------------------
If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
Hello @Sajat
Thank you for the reply. Maybe my explenation wasnt the best, so i apologize for that.
We do not want to show specific information on each product line, but rather a bulk text in a paragraph, similar to the "thank you for your order" text displayed in the order confirmation emails. It would the be the content of the paragraph we would like to change, depending on what products customers order.
To elaborate, we sell a lot of custom products. Some of our customers do not allways registrere that the products they have purchased are custom products (though it is very well informed on the product pages), and do therefore have 2-3 weeks delivery time. Due to this, when a customer orders a custom product, we want to have a specific paragraph that informs the customer that the products ordered are custom, and do therefore have a set deliverytime.
We also use backorder on some products, so we also want a different text to inform customers that the product ordered is a backorder, and is due to arrive in stock.
We tag all products if they are custom products or backorder, and orders are also tagged and put on hold automatically with Shopify Flow.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025