Is there a liquid snippet I can use to check if a logged in customer is subscribed to email marketing?
Topic summary
A user is asking whether there’s a Liquid code snippet available to verify if a currently logged-in customer is subscribed to email marketing. This appears to be a technical question about Shopify theme customization, specifically related to checking customer email subscription status programmatically within a Liquid template.
1 Like
This should be it: Liquid objects: customer
{% if customer.accepts_marketing %}
Wants our spam
{% end %}
2 Likes