Is it possible to inject a message dynamically into the order invoice notification email that is sent to a client? Could this be done by using a meta object or something similar. I want my client to have control of the edits to this copy.
Hi Brennerdesign,
Yes, it’s possible to dynamically inject a message into the order invoice notification email sent to the client.
Try this method,
- Create a Metafield
- Retrieve Metafield Content: In your email template code (e.g., order confirmation template), you can retrieve the content of the metafield dynamically using Liquid with
{% assign order_meta = order.metafields.your_namespace %}
{% if order_meta %}
{{ order_meta.your_field_key }}
{% endif %}
your_namespace being the namespace of your metafields and your_field_key being the key of the metafield that stores the message content.
Make sure to preview and test the email template to ensure that the dynamically added message appears correctly in the order invoice notification email.
Hope to have answered you question,
BR
Dawood Mirza
I am new to this meta description stuff. I need a little more help. What section do I create the meta description under. Or am I to add it some place else? also did I add the code in the correct spot. Also the your_namespace and your_field_key is the same info?
No Issue, I will help you further if you are new,
Just give me a moment
To help you further, need two ans
-
are you having shopify plus?
-
will the message be same for all invoices captured
I am not using Shopify Plus.
Yes the message will be the same for all invoices.
Ok Brennerdesign,
Since you are not using Shopify plus, we cannot use meta data approach instead what we can do is-
Go to Settings > Notifications > Customer Notifications > Order Confirmations and hit edit code
You might require verifications from the store registered email
whole code would be displayed there just add a message in
Your message
where ever you needIt will be same for all invoices and order generated ![]()
Feel free to ask any questions regarding Shopify
BR
Dawood Mirza
Thank you, I thought for sure you could do with with metaobjects or something. I feel that Shopify has a communication issue between what is standard shopify features and Shopify + features.
Thank you for your help,
Keith
I wish I could have helped you with metafields, Keith.
It’s understandable that the distinction between standard Shopify features and Shopify Plus features can be confusing. I can see how metafields might seem like a standard feature, but they are indeed part of Shopify Plus functionality in our case.
Is there anything else I can assist you with??


