customer.accepts_marketing in email templates - allowed?

customer.accepts_marketing in email templates - allowed?

BobbyMacCheese
Shopify Partner
23 1 9

I'd like to add a bit of a promotion to my transactional emails if the customer agreed to email marketing, to avoid sending an extra email.

 

Is using {% if customer.accepts_marketing %} in the email template ok for this? From my limited testing it seems ok, but would love some advice.

Replies 0 (0)