Contact form
A contact form with optional topic and order number fields.
A contact form with optional topic and order number fields.
- Where it can go: Any page
- Area: Pages, blog and accounts
- File:
sections/contact-form.liquid
Section settings#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Color scheme | Color scheme | Scheme 1 | |
| Heading | Text | Shows above the side column. | |
| Text | Rich text | ||
| Sticky side column | On/off | On |
Form#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Form heading | Text | Write to us | |
| Name label | Text | Full name | |
| Name placeholder | Text | Jane Doe | |
| Email label | Text | ||
| Email placeholder | Text | you@example.com | |
| Show topic field | On/off | On | Hidden when Topics is empty. |
| Topic label | Text | Topic | |
| Topics | Text | One per line. | |
| Show order number field | On/off | On | |
| Order number label | Text | Order number | |
| Order number placeholder | Text | #1001 | |
| Order number hint | Text | Find it in your confirmation email. | |
| Show phone field | On/off | Off | |
| Phone label | Text | Phone | |
| Phone placeholder | Text | +1 555 010 0000 | |
| Message label | Text | Message | |
| Message placeholder | Text | Tell us what happened | |
| Button label | Text | Send message | |
| Note beside button | Rich text |
Section spacing#
| Setting | Type | Default | What it does |
|---|---|---|---|
| Top spacing | Choice | Medium | Options: None, Small, Medium, Large. |
| Bottom spacing | Choice | Medium | Options: None, Small, Medium, Large. |
Blocks#
Side heading
Type: heading
| Setting | Type | Default |
|---|---|---|
| Heading | Text | Popular answers |
Answer link
Type: link
| Setting | Type | Default |
|---|---|---|
| Label | Text | Track my order |
| Link | Link |
Detail row
Type: detail
| Setting | Type | Default |
|---|---|---|
| Label | Text | |
| Value | Text | Within one working day |
Note
Type: text
| Setting | Type |
|---|---|
| Text | Rich text |
Developer notes#
Contact form posting to Shopify's contact endpoint, with an optional side column of blocks. Topic and Order number are extra fields; Shopify adds them to the email it sends the merchant.