I’m looking to embed an article with information about our products in the Order Confirmation email template. How would this be done?
The are the variables notifications are documented to have access to:
https://help.shopify.com/en/manual/orders/notifications/email-variables
For unlist objects you can try and see if you can access objects through the global variable objects
https://shopify.dev/api/liquid/objects/articles
If not you will basically need to append the article content to the order either in a cart-attribute, or possibly by chaining through to product and then it’s metafield that has a reference to a resource like a page, or rich text containing the product info.
https://shopify.dev/api/liquid/objects/line_item#line_item-product
i.e. inside a line items forloop {{ line_item.product.metafields.key.name.value }} , or {{ line_item.product.metafields.key.name.value.content }}
You can embed HTML in email with the ‘Insert as Text’ option. Select ‘Insert’ > Attach File > Select the htm. file > Click on ‘Insert’ dropdown bar > Select ‘Insert as Text’.
hope this helps!