SEO, AdWords, affiliates, advertising, and promotions
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 }}
Save time & money ,Ask Questions The Smart Way
Confused? Busy? Get the solution you need paull.newton+shopifyforum@gmail.com
Problem Solved? ✔Accept and Like solutions to help future merchants
Answers powered by coffee Buy Paul a ☕ Coffee for more answers or donate to eff.org
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!
User | RANK |
---|---|
9 | |
7 | |
6 | |
5 | |
4 |
Make the shift from discounts to donations, and witness your business not only thrive fina...
By Holly Dec 4, 2023On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...
By Arno Nov 27, 2023You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...
By Skye Nov 8, 2023