PrestaShop

PrestaShop is one of the most popular e-commerce platforms and one of the most successful open source projects in the world.


Offer listing

For the transmission of your offers there is a third party plugin available for a fee.

Moussiq PRO - Prestashop export module for product and price search engines

We are happy to refund the cost of the plugin via an individual click credit. Please contact us for an offer.


Integration of conversion tracking

Instructions for the integration of conversion tracking

Integration of landingpage tracking:


1. Edit the file "ROOT/controllers/front/ProductController.php"
2. Copy this code snippet directly under "public function initContent() {":


if (strpos($_SERVER['REQUEST_URI'], "soluteclid")>0){
if (isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == 'on'){
$landing = 'https://';
} else {
$landing = 'http://';
}
$landing .= $_SERVER['SERVER_NAME'].$_SERVER['REQUEST_URI'];
$_SESSION['soluteclid'] = time()." ".$landing;
$url = "https://cmodul.solutenetwork.com/landing";
$url .= "?url=".urlencode($landing);
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}


Integration of conversion tracking:


1. Edit the file "ROOT/controllers/front/OrderConfirmationController.php"
2. Copy this code snippet directly under "public function initContent() {":


if (isset($_SESSION['soluteclid'])){
$order = new Order($this->id_order);
$ttl = 60*60*24*30;
$cookie = $_SESSION['soluteclid'];
$soluteclid = explode(" ", $cookie);
if ((int)$soluteclid[0] + $ttl > time()){
$url = 'https://cmodul.solutenetwork.com/conversion';
$url .= '?val='.urlencode($order->total_paid_tax_excl-$order->total_shipping_tax_excl);
$url .= '&oid='.urlencode($this->reference);
$url .= '&factor=1';
$url .= '&url='.urlencode($soluteclid[1]);
$url .= '&ctsystem=PrestaShop_1.7';
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}
}


Attention: Conversion tracking does not work without landingpage tracking.


Got any questions? Please contact us!

Our Technical Shop Support will be happy to help you.

Tel: +49 721-98993-60
(For direct dialling, select "1" in the voice menu and then "2".)

E-mail