EU - Right of Withdrawal - Test
{%- comment -%}
============================================================================
EU Right of Withdrawal — request form
----------------------------------------------------------------------------
Uses Shopify's native {% form 'contact' %}. No app required.
WHERE THIS GOES
Option A (recommended): save as sections/withdrawal-form.liquid and add the
section to a page via the theme editor.
Option B (quickest): paste into a "Custom Liquid" block on the page.
IMPORTANT — read the notes at the bottom of this file before going live.
============================================================================
{%- endcomment -%}
{%- form 'contact', id: 'withdrawal-form', class: 'bd-withdrawal__form' -%}
{%- if form.posted_successfully? -%}
{%- comment -%} Success state — fields are removed so nothing is resubmitted {%- endcomment -%}
{%- else -%}
{%- if form.errors -%}
{%- endif -%}
{%- comment -%}
Hidden body field.
Shopify runs contact[body] through its spam filter and it's the only field
guaranteed to appear in the notification email, so we compose a plain-text
summary here. The marker on the first line is what your inbox rule keys off —
the subject line of a Shopify contact email can't be changed.
The static default below is the no-JavaScript fallback.
{%- endcomment -%}
{%- comment -%}
============================================================================
BEFORE YOU GO LIVE — four things to check
============================================================================
1. WHERE THE EMAIL ACTUALLY LANDS
Shopify's native contact form always sends to the store's *sender email*
(Settings > Notifications). There is no per-form recipient. So either point
the sender email at the withdrawal inbox (affects every contact form on the
store, so probably not), or set up a forwarding rule from the sender address
to the withdrawal inbox.
2. YOU CAN'T CHANGE THE SUBJECT LINE
Shopify fixes the subject on contact form emails. That means your inbox
automation can't route on subject — it must match the string
BODEN-WITHDRAWAL-REQUEST in the body. That's why it's on line one.
3. SPAM FILTERING
Shopify runs contact[body] through its spam filter and prefixes flagged
messages with [SPAM] in the subject. Make sure your inbox rule doesn't
silently drop those, or a genuine withdrawal request could go missing.
4. THERE IS NO PERSISTENT RECORD
Submissions exist only as emails. Nothing is stored in Shopify, so if a
mail fails to deliver there's no way to prove it was ever sent. Worth
raising before this becomes the permanent solution.
============================================================================
{%- endcomment -%}
Your withdrawal request has been sent
Thank you. We've received your request and a confirmation email is on its way to the address you gave us. Please keep it — it's your record of the date we received your request.
If it hasn't arrived within an hour, check your junk folder before contacting us, as automated emails occasionally end up there.
We couldn't send your request
Please check the following and try again:
{{ form.errors | default_errors }}We'll use these details only to process your withdrawal and refund. See our privacy policy for more.
{%- endif -%} {%- endform -%}