Info
Content

How to integrate the CMP into a PrestaShop Shop?

Automatic Integration via PrestaShop PlugIn

Please note: The plugin is using automatic code blocking, this can cause problems with your website. 

In order to integrate your CMP into a PrestaShop website, please follow these steps:

This Plugin is designed for PrestaShop Version 1.7

  1. Login to your PrestaShop System and click on Improve > Modules > Module Manager and click on Upload a module



  2. Download the ConsentManager plugin here and upload it to PrestaShop

  3. Once uploaded, click on Improve > Modules > Module Manager and click on Configure for Consent Manager

  4. Enable the module by setting Live mode to YES and insert your Consent Manager ID (can be found in your consentmanager.net Login under Menu > Get Code), then press Save

Manual Blocking

Please note: The below description is only valid for the manual blocking code. If you want to use automatic code blocking, please ensure that the CMP-Code is inserted directly after the <head> element of your website code.

In order to integrate the CMP-Code into a PrestaShop Shop please follow these steps:

  1. Login to your PrestaShop Back Office
  2. In the menu click on Design > Theme & Logo
  3. Click on Advanced Customization and Download theme

  4. Unpack the theme files and edit the file page.tpl (sometimes index.tpl, index.php, page.php and similar)
  5. Add a new block at the end of the file: {block name='head' append}{literal} ... CMP-Code ... {/literal} {/block}
  6. Save the file, zip the directory and upload it
Back to top