Add a contact form to your theme

You can add a contact form to your theme to allow customers to get in touch with the merchant.

You can add this form with the Liquid form tag and accompanying 'contact' parameter. Inside the form, you can include two different input types:

The following is an example of the form with both of the above input types:

Required inputs

The following inputs are required for the form to submit successfully:

Input type name
Email email contact[email]
Message

text

or

textarea

contact[body]

Optional inputs

The optional inputs can be any HTML input type. They need to have an attribute of name="contact[Information title]", where Information title is the title of the information you're collecting.