Form inside Shopify Page
Last updated
Last updated
Embedding Forms in Shopify Pages
You can embed forms on any Shopify page. By using a page, you can customize the URL, so it doesn't have to be /apps/product-registration
. For more details on customizing the URL and other settings, refer to the Shopify page documentation.
To embed the form inside a page, simply add the form block to the page using the theme's customizer.
Note: If the page template is shared between different pages, the form will be added to all pages using that template. To add the form to a new page, you will need to create a new template using the instructions below.
Go to Shopify admin > Online Store > Themes > Customize
On the customize page, add a section or block to the page where you want the form to appear.
The above method will add the form block to the page template, but this might not be ideal if the template is shared between multiple pages, as the form will appear on all those pages.
To ensure the form appears only on a specific page, you should create a new page template specifically for the form. This way, the form will be isolated to that single page.
To create a new page template, follow these steps:
Go to Shopify admin > Online Store > Themes > Customize.
In the theme editor, click on the Actions dropdown and select Edit code.
Under the Templates section, click Add a new template.
Choose page as the template type and give it a unique name, such as page.form
.
Select Done to create the template.
Now that you have created a new page template specifically for the form, you can add the form block to this template without affecting other pages.
Once you have created the new page template, you can add the form block to it. To do this, follow these steps:
Go to Shopify admin > Online Store > Pages > Add page.
Create a new page and select the new page template you just created from the Template suffix dropdown.
This way, only the new page will use the template, and the form will appear exclusively on that page instead of other pages.