Integrations

Menu

  • Pricing
  • Features
    • Regulation compliance
    • GDPR (EU)
    • CCPA (California)
    • PIPEDA (Canada)
    • LGPD (Brasil)
    • KVKK (Turkey)
    • POPIA (South Africa)
    • The basics
    • 42 languages
    • User consents recording
    • Third-party cookie blocking
    • Geo targeting
    • Cookie Banner
    • Google Consent Mode v2
    • Automation
    • Automatic monthly scans
    • Automatic script blocking
    • Advanced reporting
    • Cookie Banner sharing
    • IAB TCF 2.3 integration
    • Google-certified CMP
  • Resources
    • Cookie Scanner
    • Privacy Policy Generator
    • System status
    • Roadmap
    • Changelog
  • Blog
    • Guides
    • News
    • GDPR & CCPA
    • Privacy laws
    • Compare
    • Knowledge base
  • Support
    • Help Center
    • Integrations
    • Contact us
    • Feature request
  • For partners
    • Agencies
    • Affiliates
  • separator
  • Language switcher
    • Profile
    • Billing
    • My plan
  • Sign in
  • Try now
 
  • Help Center
  • Integrations
  • Contact us
  • Feature request
Details
Last Updated: 13 February 2021

Cookie compliance integration for Shopware

Go to your Cookie-Script.com account and download Item's Cookie-Script file.

Log in to your Shopware Admin Dashboard.

Place downloaded Cookie-Script file into the correct JS directory inside your custom theme.

Add the downloaded file paths to the $javascript variable in your Theme.php file, relative to the _public directory.

protected $javascript = [      'src/js/[cookie-script file name].js'  ];

After the Cookie-Script JS file was added it has to be compiled. There are two ways of doing this.

For production mode
Go to the administration panel -> Configuration -> Caches & Performance -> Caches and check the Compile themes option.

For development mode
Go to the administration panel -> Configuration -> Theme Manager -> Settings -> Disable compiler caching.

On the other side, for development mode, the best way is to use the grunt file watcher.

Cookie-Script is installed on Shopware now and should be ready for use.

 
  • About CookieScript
  • Terms of Service
  • Privacy Policy
  • Pricing
  • Resources
  • Cookie Scanner
  • Privacy Policy Generator
  • System status
  • Sitemap
  • Changelog
  • Alternatives
  • CookieBot
  • Termly
  • OneTrust
  • Iubenda
  • Cookie Information
  • CookieFirst
  • Illow
  • Blog
  • Guides
  • News
  • GDPR & CCPA
  • Privacy laws
  • Knowledge base
  • Support
  • Help center
  • Contact us
  • Integrations
  • Request a feature
  • Roadmap
  • For Partners
  • For agencies
  • For Affiliates

Copyright ©2026 CookieScript


main version