The modified eCommerce shop software is a free OpenSource shop system published under the GPL, whose development began at the end of 2008.
modified offers an adjustable export function for the transmission of your offers.
Our technical shop support will be happy to assist you with the setup if required.
Integration of landingpage tracking:
1. Edit the file "ROOT/product_info.php"
2. Copy this code snippet into it:
<?php
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/checkout_success.php"
2. Copy this code snippet directly before the line "//delete guests from database":
// billiger.de start
if (isset($_SESSION['soluteclid'])){
$orders_subtotal_query = xtc_db_query("select value from ".TABLE_ORDERS_TOTAL." where orders_id = ".$last_order." and class='ot_subtotal'");
$orders_subtotal = xtc_db_fetch_array($orders_subtotal_query);
$orders_tax_query = xtc_db_query("select value from ".TABLE_ORDERS_TOTAL." where orders_id = ".$last_order." and class='ot_tax'");
$orders_tax = xtc_db_fetch_array($orders_tax_query);
$val = $orders_subtotal['value']-$orders_tax['value'];
$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($val);
$url .= '&oid='.urlencode($last_order);
$url .= '&factor=1';
$url .= '&url='.urlencode($soluteclid[1]);
$url .= '&ctsystem=modified';
$curlCon = curl_init();
curl_setopt($curlCon, CURLOPT_URL, $url);
curl_setopt($curlCon, CURLOPT_RETURNTRANSFER, 1);
curl_exec($curlCon);
curl_close($curlCon);
}
}
// billiger.de end
Attention: Conversion tracking does not work without landingpage tracking.
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".)