Add - How did you hear about us section with a open field - Dawn Theme

Topic summary

A user wants to add a β€œHow did you hear about us?” section with an open text field to their Shopify store using the Dawn theme.

Recommended Solution:

  • Use cart attributes to collect this information
  • Create a custom input field or fieldset within a custom-liquid section/block on the cart template
  • Ensure the input has the form="cart" attribute to connect it to the actual cart form

Implementation Options:

  • Reference existing Shopify documentation on using cart attributes to collect additional information
  • Copy relevant code from the theme’s contact page to maintain consistent styling and structure
  • Alternatively, use a similar approach with a contact form if the information needs to be submitted before customer checkout

Note: This goes beyond simple CSS modifications and requires advanced customization involving form markup and cart attribute handling.

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

Hi

I would like to add a small section like this, How did you hear about us and with a blank field to write in, can this be done in a code or similar? :slightly_smiling_face:

The section should be on the on a page where the check out comes in. :slightly_smiling_face:

Thanks in advance. :slightly_smiling_face:

www.dekanten.no

Depending on total needs this can be an advanced customization, beyond just simple CSS band-aids.

Create an input, of fieldset of inputs, that uses cart attributes and put it in a custom-liquid section, or custom-liquid block if available, on the cart template

https://community.shopify.com/topic/613718

make sure the custom inputs or containing fieldset has the form attributeform="cart" to connect it to the actual cart form:

e.g.


  
  

To match a themes structure & style more consistently look for the themes contact us page code and copy the relevant parts that create a form.

Or use similar approach if you need this info to be summited like a contact form before a customer checks out.

If you need more advanced customization then contact me by my email for services
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.

Good Hunting