Make email address optional for blog comments

Topic summary

A user wants to make email addresses optional for blog comments on their Shopify store using the Dawn theme.

Solution provided:

  • Navigate to theme files via “Edit code” in theme settings
  • Locate the file main-article.liquid or article-template.liquid (varies by Dawn version)
  • Find the comment form’s email input tag
  • Remove the required attribute from the email input field
  • Save changes

Trade-off noted:
Without required emails, store owners cannot directly reply to commenters or identify them unless information is provided within the comment itself.

The original poster confirmed the solution worked for their needs.

Summarized with AI on October 29. AI used: claude-sonnet-4-5-20250929.

I want to make it so that entering an email address is not required when posting comments on blog posts.
I’m using the Dawn theme.
How should I set it up?
Thank you.

You’ll need to go into your theme files by clicking “Edit code” in your theme settings. Then find the file called something like main-article.liquid or article-template.liquid, depending on your version of Dawn. Inside that file you’ll see the comment form section and there will be an input tag for the email field. It probably looks something like input type=“email” and includes the word required.

All you have to do is remove the required part from that input tag. That tells the browser not to force someone to fill it out. Once you save that change, visitors will be able to post a comment without entering their email.

Just keep in mind that without an email, you won’t be able to reply to them directly or see who they are unless they tell you in the comment, but if you’re okay with that then you’re good to go.

1 Like

Thank you :blush: