Hi, I am using the debut theme and I would like to add an order number field to the contact form. can someone please help me with that?
example below
A Shopify store owner using the Debut theme needs help adding an order number field to their contact form.
Solution Provided:
KetanKumar offers step-by-step assistance by:
Implementation Details:
Outcome:
The issue appears resolved, with ColombiaStudio thanking KetanKumar for the solution. An additional community member suggests a YouTube tutorial covering various contact form customizations (dropdowns, radio buttons, checkboxes, text fields).
Note: The conversation includes code snippets and screenshot references that are central to implementing the solution.
Hi, I am using the debut theme and I would like to add an order number field to the contact form. can someone please help me with that?
example below
Sorry for facing this issue, it’s my pleasure to help us.
Welcome to the Shopify community!
and Thanks for your Good question. ![]()
Please share your site URL,
So I will check and provide a solution here.
or
are you able to code try this
https://shopify.dev/tutorials/customize-theme-add-fields-to-your-contact-form
@ColombiaStudio - can you add me to staff? I will add new field in your contact form
can you please share contact us page code so i will update here
{% if page.content.size > 0 %}
{{ ‘contact.form.phone’ | t }}
{{ ‘contact.form.message’ | t }}
{% if form.body %}{{ form.body }}{% endif %}{% endform %}
Thanks can you please add this code
# {{ page.title }}
{% if page.content.size > 0 %}
{{ page.content }}
{% endif %}
{%- assign formId = 'ContactForm' -%}
{% form 'contact', id: formId %}
{% include 'form-status', form: form, form_id: formId %}
{%- if form.errors contains 'email' -%}
{{ 'general.accessibility.error' | t }}
{% include 'icon-error' %}
{{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}.
{%- endif -%}
{% endform %}
Hi, thank you for the code and one last thing is how do I align the order number and phone just like how name and email is? shown image below
thanks for update please update
# {{ page.title }}
{% if page.content.size > 0 %}
{{ page.content }}
{% endif %}
{%- assign formId = 'ContactForm' -%}
{% form 'contact', id: formId %}
{% include 'form-status', form: form, form_id: formId %}
{%- if form.errors contains 'email' -%}
{{ 'general.accessibility.error' | t }}
{% include 'icon-error' %}
{{ form.errors.translated_fields['email'] | capitalize }} {{ form.errors.messages['email'] }}.
{%- endif -%}
{% endform %}
Thank you so much
it’s my pleasure to help us
Hey @ColombiaStudio , dive into the world of customizing Shopify contact forms with this insightful YouTube video, covering text, dropdowns, radio buttons, and checkboxes: