Custom fields in the contact form require adding codes to your theme files.
Note: Take a backup of your theme before implementing the solution below.
I followed this tutorial to add the Company Name and Address fields to the Simple theme contact form. I added the code to a fresh install of the theme.
Steps:
-
From your Shopify admin, go to Online Store > Themes.
-
Find the theme you want to edit, and then click Actions > Edit code.
-
In the Templates directory, click page.contact.liquid.
-
Replace the code with the code below. If you are using the default contact page.
# {{ page.title }}
{{ page.content }}
{% form 'contact' %}
{% if form.posted_successfully? %}
{{ 'contact.form.post_success' | t }}
{% endif %}
{{ form.errors | default_errors }}
{% endform %}
- Click Save
Now you will see two fields in the contact form. But you need to add language translation fields.
Follow the steps below:
-
From your Shopify admin, go to Online Store > Themes.
-
Find the theme you want to edit, and then click Actions > Edit code.
-
In the Locales directory, click en.default.json.
-
Search for “contact”: tag.
-
Add the following code below “phone”: “Phone Number”,
"company": "Company Name",
"address": "Address",
- Click Save.
Here’s how my contact form looks like:
and in the message in the email:

