https://shopify.dev/docs/themes/customer-engagement/add-contact-form here you go!
Topic summary
Issue: A user wants to add a First Name input field to the email signup form in Shopify’s Dawn theme.
Solution Provided:
- Replace code in
newsletter.liquidfile (Theme > Edit code > Sections) - The provided code snippet includes HTML markup for adding a first name field alongside the email field
- Uses Shopify’s customer form with fields for
contact[first_name]andcontact[email]
Implementation Results:
- Original poster confirmed the solution worked perfectly
- One user reported it didn’t work but didn’t provide error details
- Another user successfully added the field but wants to adjust padding/spacing at the bottom of the newsletter block
- One user encountered a translation error: “missing translation: t:sections.newsletter.settings.color_scheme.label” in locale files
Additional Resources:
- A link to Shopify’s official documentation for adding contact forms was shared: shopify.dev/docs/themes/customer-engagement/add-contact-form
- Question raised about where to find documentation for all available form fields
Status: Solution works for most but requires troubleshooting for specific implementation issues (styling, translations).