Info
Content

How to integrate the CMP into a Shopware Shop?

In order to intergate the ConsentManager.net CMP into your Shopware Shop system please follow these steps:

  1. You will need to edit the *.tpl files of your current theme. Therefore login into your server via FTP and locate the template directory and the template that you are using. Usually this can be found at {root}/themes/[template-name]/frontend/index/header.tpl
  2. In header.tpl search for <body
  3. After the <body .... > you will find a {/block}, insert the CMP code after thisĀ  {/block} enclosed in {literal} and {/literal} :

  4. Save the file.

Alternative integration option

As an alternative way you can use these steps:

  1. Create a new child theme from your existing theme
  2. Create a file /themes/[your-child-theme]/frontend/index/index.tpl
  3. Insert the following code into the file:
{extends file="parent:frontend/index/index.tpl"}
{$smarty.block.parent}
{block name='frontend_index_after_body' append}
{literal} ... CMP-Code ... {/literal}
{/block}
Back to top