Legacy Themes: Integrate Form

Some older themes (Online Store 2.0 predecessors, “legacy” / OS 1.0 themes) do not support app blocks or app sections. The app detects this and offers a legacy setup path during onboarding.

Goal: Customers can reach the withdrawal form even in legacy themes.

Time: approx. 5 minutes.

How It Works in Legacy Themes

Instead of a form block, the form opens as an overlay. You make it accessible through one or more of these methods:

  1. App Embed — the floating button works in legacy themes too (targets body, no app sections needed).
  2. Link with URL hash — a link to #eu-withdrawal=open (or #eu-withdrawal=open on the same page) opens the overlay automatically.
  3. Legacy inline snippet — paste a small HTML snippet into your theme to embed the form directly in a page.

Method 1: Activate the App Embed

  1. Open the theme editor (Online Store > Themes > Customize).
  2. Go to App Embeds.
  3. Enable Withdrawal Button.
  4. Save.

The floating button now appears on all pages. Settings are the same as in Enable App Embed Button.

Enable App Embeds
Withdrawal form in overlay

The onboarding wizard can add a menu link automatically (“Add withdrawal link to your store”). It links to #eu-withdrawal=open.

  • The link uses the hash #eu-withdrawal=open. When a customer opens this link, the form opens automatically in the overlay.
  • The link can be used in navigation menus, footer links, or any HTML link: <a href="#eu-withdrawal=open">Cancel contract</a>.
  • On a page with the embed, a same-page link to #eu-withdrawal=open opens the overlay without any navigation (e.g. a footer link on the same page).
  • Works in all themes — no code required.

Manual alternative: add the link in Online Store > Navigation yourself, using the URL #eu-withdrawal=open.

Footer with withdrawal link

Method 3: Legacy Inline Snippet (embed form in a page)

If you prefer the form embedded directly in a page (not as overlay), use the legacy snippet. The vendor provides a Liquid snippet (form-inline-legacy.liquid) with the same functionality as the inline block:

  1. In Shopify admin, go to Online Store > Themes > Edit code.
  2. Create a new section or template section for your page (e.g. in the page template).
  3. Paste the snippet code where the form should appear.
  4. Save.

The snippet supports the same settings as the inline block: heading, description, colors, border radius, max width, show/require order number, hide order notes, require items, confirmation step, hide outside EU (Grow plan).

Screenshot spec: The code editor in Shopify (Online Store > Themes > Edit code) with the legacy snippet open. The section of the file containing withdrawal/proxy/embed/withdrawal-form is highlighted.

Note: If you are unsure whether you need this, try the App Embed + URL link first (Methods 1 and 2). The snippet is only needed when you want the form embedded without an overlay.

Tip: Hide the Floating Button

To hide the floating button (e.g. when you use only the menu link): open Theme Editor > App Embeds > Withdrawal Button and set “Show Floating Button” to false. The overlay still opens via #eu-withdrawal=open links.

FAQ

How do I know if my theme is legacy?

The onboarding wizard detects it automatically. Symptoms of a legacy theme: no “App Embeds” entry or no “Add block” / “Add section” in the theme editor, and page templates are edited via “Edit code”.

Error message in legacy theme

Can I combine overlay and inline form?

Yes. You can use the URL link and the legacy snippet at the same time.

Does the watermark appear in legacy themes too?

Yes, the same rules apply: the watermark shows on the free plan and is removed with a paid plan or after validation.

Further Reading