Add snippet code in Opencart, Drupal, Volusion, PrestaShop

Opencart

 

In order to add the “picreel” code, you either have to fix the template code using ftp or to open the file:

/catalog/view/theme/[your_template_name]/template/common/footer.php

 

and before the closing insert the snippet code:

 

 

For example, for the default "opencard" template you should add the code like this:

 

 

Drupal

 

In order to add the “picreel” code, you either have to fix the template code using ftp or to open the file:

/themes/[your_template_name]/template.php

 

In this file, it's necessary to find the function that have a title:

[your_template_name] _preprocess_html


and to add in it the snippet recall in the template. For example, for the template "bartik" out of the “Drupal 7” box, you have to enter the following:

 

 

And, for example, for the template "garland" out of the “Drupal 7” box, you have to enter the following:

 

 

The code to add:

//Add Picreel service code

drupal_set_html_head('');

 

Volusion

 

1. Select the template settings:
 

 

2. Go to the template editor:

 
 
3. Before the tag insert the tracker code and click “save”:
 
 
PrestaShop

In order to add the “picreel” code, you either have to fix the template code using ftp or to open the file:

/themes/[your_template_name]/footer.php


and before the closing insert the snippet code:

For example, for the default "prestashop" template you should add the code like this: