Set Up Inline Form

Goal: The withdrawal form appears on its own shop page (e.g. /pages/widerruf-formular) — with its own template so the form block only appears on this page.

Time: approx. 5 minutes.

Comparison with the App Embed Button: Form Integration: Overview

What the Block Looks Like

The “Withdrawal Form - Inline” app block renders a heading, an optional description and the embedded form. The form auto-sizes its height to its content, so there are no scrollbars.

Step 1: Create a Custom Template and Insert the Form Block

A custom template ensures that the form block appears only on the withdrawal page — not on all pages that use the standard page template (e.g. About Us, Contact).

  1. Go to Online Store > Themes > Customize.
  2. In the left sidebar, click the current template (e.g. Home page) and then Create template.

New template in theme editor

  1. Select page as the base and enter the name widerruf.
  2. Click Create. The template page.widerruf is now active.
  3. Click Add block (plus symbol).
  4. Search for Withdrawal Form - Inline and click on it.
Insert form block in theme editor
  1. Adjust the block order if needed (drag & drop).
  2. Click Save in the top right.
Form block inserted in theme editor

Step 2: Create Page and Assign Template

  1. Go to Online Store > Pages.
  2. Click Add page.
  3. Enter Title: Widerruf.
  4. In the Theme template dropdown, select the template page.widerruf you just created.
  5. Leave the content empty — the form block takes over the page.
  6. Click Save.
Add page in Shopify

So customers can find the page, it must be linked in the store menu.

  1. Go to Online Store > Navigation.
  2. Select the menu where the link should appear (Footer menu recommended, Main menu possible).
  3. Click Add menu item.
  4. Enter Name: Cancel Contract (or German: Vertrag widerrufen).
  5. Under Link, select the page “Widerruf” from the list.
  6. Click Add, then Save.

Add Footer Link

Tip: The onboarding wizard can add this menu link automatically — see First Steps, Step 2.

Footer Link result

The app’s own app embed “Style Footer Link to Button” renders your withdrawal link as a button automatically — no code needed.

Without button With button
Footer link without button Footer link as button
  1. Open the theme editor and go to App Embeds.
  2. Search for Style Footer Link to Button.
  3. Toggle it On.
  4. Choose button style, colors and size as you like.
  5. Save the theme.

Guide with all options: Style Footer Link as Button

Step 5: Configure the Block (optional)

The block settings in the theme editor:

Setting Description Default
Show heading Show the block heading On
Heading Custom heading text “-” (uses locale default “Declare withdrawal”)
Description Text under the heading “-” (uses locale default)
Iframe height Height of the form area 500 (range 400-800)
Primary color Color of the submit button and selected items #000000 (black)
Background color Form background #ffffff
Text color Form text color #212529
Border radius Corner radius of form elements 8px
Max width Maximum width of the form 700px
Show order number field Show the order number + order lookup On
Require order number Order number is a required field (can be overridden by the app setting) On
Hide order notes & manual entry Hide the “Additional notes” textarea and the manual item entry toggle Off
Require items field Customers must enter/select at least one item; automatically disables “Hide order notes”; shows a “* Required” legend Off
Confirmation step Customers review their input before submitting Off
Hide outside EU Hides the form for visitors outside EU/EEA/NI (Grow plan) Off

Note on “Require order number”: The app setting “Require valid order number and email” (Settings > Return Rules & Automation) overrides this widget setting.

Step 6: Verify

  1. Open your store in a browser window.
  2. Go to Cancel Contract in the footer menu.
  3. Check that the page with the form appears.
  4. Fill out the form with test data and submit it.
  5. Check:
    • Success message appears after submission.
    • Withdrawal appears in the app dashboard.
Withdrawal form on the shop page

If the Form Is Not Visible

  1. Open theme editor and check if the block is in the correct template (page.widerruf).
  2. Check if the page has the correct template assigned (Online Store > Pages > Theme template).
  3. Save the theme.
  4. Open the page in an incognito window.
  5. Further help: Troubleshooting

FAQ

Why a custom template?

The default page template is used for all pages (About Us, Contact, etc.). If you insert the form block there, it will appear on every one of those pages. A custom template isolates the block to the withdrawal page.

Can I insert the block on multiple pages?

Yes. Create a separate template for each additional page or use a shared template.

Can I rename the page?

Yes. Change the page title in Shopify under Online Store > Pages. The URL handle (/pages/widerruf-formular) can be changed there as well.

What happens when switching themes?

Templates and app blocks are theme-specific. After a theme change, you need to recreate the template and block in the new theme.

What about older themes without app blocks?

See Legacy Themes: Integrate Form.

Further Reading