Liquid - Check Email Subscription Status

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.

Summarized with AI on November 17. AI used: claude-sonnet-4-5-20250929.

Is there a liquid snippet I can use to check if a logged in customer is subscribed to email marketing?

1 Like

This should be it: Liquid objects: customer

{% if customer.accepts_marketing %}
  Wants our spam
{% end %}
2 Likes