How to create a Cookies Declaration page
You can create an automated Cookie Declaration page using one of two methods, depending on whether your theme supports Online Store 2.0.
Option A: Using an Online Store 2.0 Theme (Using Page Block)
- Open your Theme Editor
Go to your active theme under Online Store > Themes and click Customize.
- Create a New Page Template
- Use the dropdown menu at the top to switch to Pages.
- Click Create Template and name it:
declaration
.
- Add the Cookie Declaration Section
- With the new
declaration
template selected, click Add section in the left panel. - Search for Pandectes Cookies declaration and add it.
- Make sure the section is visible (eye icon is open).
- Click Save to apply changes to the theme.
- Create or Edit a Page
- Navigate to Online Store > Pages.
- Either create a new page or edit an existing one (e.g., "Cookie Declaration").
- On the right-hand side, set the Theme template to the
declaration
template you just created. - Click Save.
Option B: For All Other Themes (Deprecated using script injection)
- Create or Edit a Page
- Go to Online Store > Pages.
- Create a new page or select an existing one.
- Give it a clear title like Cookie Declaration.
- Add the Declaration Code
- Switch to the HTML view (<> icon in the editor).
- Paste the following snippet inside the page body:
<div id="pandectes-declaration-container"><!-- leave empty --></div>
<script defer src="https://s.pandect.es/scripts/pandectes-declaration.js"></script>
- Save the Page
Click Save to apply changes.
Step 2 (Optional): Add to Footer Menu
To help visitors easily find your declaration page, you can link it in the footer.
- Go to Online Store > Navigation.
- Select the Footer menu.
- Click Add menu item.
- Name:
Cookie Declaration
- Link: Choose Pages > [Your declaration page]
- Click Save Menu.
Video tutorial
By following the steps above, your store will include an automated, compliant, and easily accessible Cookie Declaration page powered by Pandectes.
Updated on: 15/07/2025
Thank you!