How to include customer metafield in shopify automation email

Solved

How to include customer metafield in shopify automation email

gary195195
Visitor
2 0 1

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

Accepted Solution (1)

Kalen_Jordan
Shopify Partner
803 39 147

This is an accepted solution.

I don't believe that's possible. Here are the list of liquid variables available to email campaigns:

https://help.shopify.com/en/manual/promoting-marketing/create-marketing/shopify-email/create-email/c...

View solution in original post

Replies 3 (3)

Kalen_Jordan
Shopify Partner
803 39 147

This is an accepted solution.

I don't believe that's possible. Here are the list of liquid variables available to email campaigns:

https://help.shopify.com/en/manual/promoting-marketing/create-marketing/shopify-email/create-email/c...

gary195195
Visitor
2 0 1

Thank you!

 

It is a pity that they don't allow you to use other variables 😞

Kalen_Jordan
Shopify Partner
803 39 147

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.