Fix Missing Pandectes Script After Theme Change
Guide for merchants to properly re-activate Pandectes after switching themes in Shopify.
Introduction
When you switch to a new Shopify theme, customizations like app embeds and code snippets don’t automatically carry over. For Pandectes GDPR Compliance to work correctly, paid users must re-enable the app and reinsert the snippet into their new theme. This guide walks you through the necessary steps to ensure continued compliance and proper script loading for your storefront.
How to Re-Enable the App Embed and Insert the Script
Step 1: Open Your Theme Customize Page
Navigate to Shopify Admin > Online Store > Themes and click on Customize
Step 2: Enable the Pandectes App Embed
- On the theme editor page, click the App embeds icon.
- Look for "Pandectes Core".
- Toggle it to enabled.
- Click Save in the top right.
Step 3: Edit Your theme.liquid
File
- Go back to Online Store > Themes.
- Click the Three dots > Edit code on your active theme.
- In the left sidebar, locate the
theme.liquid
file under the Layout folder. - Exactly below the
<head>
tag, paste the following line:
<script src="{{ 'pandectes-rules.js' | file_url }}"></script>
- Click Save.
Troubleshooting
- Can’t find
theme.liquid
?
Some Shopify 2.0 themes use a different file structure. Look for layout/theme.liquid
or consult your theme’s documentation.
- Still not working?
Reach out to our support team via the chat in your dashboard. We’ll help set it up for you.
Why This Matters
Due to Shopify’s recent guidelines, we recommend adding this script for full functionality of features like our autoblocker and integrations. It ensures everything runs smoothly after a theme change.
Updated on: 29/09/2025
Thank you!