I am using open cart 2.2.0, have signed up as merchant at adcell, would like to offer affiliate links from my website to other website operators.
I got the following code from Adcell:
Code: Select all
<?php if (isset ($_SESSION['customer_order_success'])) { ?>
<script type="text/javascript" src="https://t.adcell.com/t/track.js??pid=6934&eventid=8858&referenz=<?php echo $_SESSION['customer_order_success']; ?>&betrag=<?php echo $_SESSION['customer_order_net_amount']; ?>"></script>
<noscript>
<img src="https://t.adcell.com/t/track?pid=6934&eventid=8858&referenz=<?php echo $_SESSION['customer_order_success']; ?>&betrag=<?php echo $_SESSION['customer_order_net_amount']; ?>" border="0" width="1" height="1">
</noscript>
<?php unset($_SESSION['customer_order_success']); ?>
<?php unset($_SESSION['customer_order_net_amount']); ?>
or as an alternative, I should use this:
Code: Select all
<script type="text/javascript" src="https://t.adcell.com/t/track.js?pid=6934&eventid=8858&referenz=ABC_123&betrag=123.45">
</script>
<noscript>
<img border="0" width="1" height="1" src="https://t.adcell.com/t/track?pid=6934&eventid=8858&referenz=ABC_123&betrag=123.45">
</noscript>
I used two different sucess file paths:Parse error: syntax error, unexpected '<' in /homepages/1/d732249520/htdocs/catalog/language/en-gb/checkout/success.php on line 12
/catalog/language/de-DE/checkout/
/catalog/controller/de-DE/checkout/
Of course, I changed the change synonymous with other languages sucess.php with but nothing brings.