Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hello,
I am trying to include a customer metafield in a shopify automation email but i am not being able to make it appear, what i am doing is adding a custom liquid block and putting {{ customer.metafields.oneclickpopup.oneclickpopupdiscountcode }} that is the metafield that i want but when the email is sent nothing appears. I also tried to create an if condition {%- if customer.metafields.oneclickpopup.oneclickpopupdiscountcode != blank -%} to show another text but it also appears blank
Anyone know how to solve it?
Thank you in advance
Best
Solved! Go to the solution
This is an accepted solution.
I don't believe that's possible. Here are the list of liquid variables available to email campaigns:
This is an accepted solution.
I don't believe that's possible. Here are the list of liquid variables available to email campaigns:
Thank you!
It is a pity that they don't allow you to use other variables 😞
Yeah! Hopefully soon! Not sure if you're interested in using a 3rd party app, but we have an email feature that you could use for this.
Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025