Integration For Zen Cart

Step 1.

1. Open the file includes/modules/checkout_process.php
2. In the open file, insert the following line at the end of the file:

$order_products_id = ”;for ($i=0, $n=sizeof($order->products); $i<$n; $i++){$order_products_ids .= ($i!=0 ? ‘|’ : ”) . $order->products[$i][‘id’];}$_SESSION[‘order_summary’][‘order_products_ids’] = $order_products_ids;

3. Save and close the file.

Step 2.

1. Open the file includes/templates/template_default/templates/tpl_checkout_success_default.php or includes/templates/[your_active_skin_directory]/templates/tpl_checkout_success_default.php (if exist)
2. In the open file, insert the following line at the beginning of the file:

<?php echo ‘<img src=”http://track.feedplatform.com/conversion/<ACCOUNT_ID>/?products_ids=’ . $order_summary[‘order_products_ids’] .
‘&order_total=’ . $order_summary[‘order_total’] . ‘&order_id=’ . $order_summary[‘order_number’] . ‘” />’;
?>

3. Save and close the file.

Important: Please replace <ACCOUNT_ID> with actual Account ID. You can find Account ID at Edit Campaign -> Traffic Tracking -> Conversion Tracking.

Scroll to Top