I wonder if you might be able to offer help filling in the blanks for the shopping.com ROI tracker.

It wants to be passed order info as below.

_roi.push(['_addItem',
'', // Merchant sku
'', // Product name
'', // Category id
'', // Category name
'', // Unit price
'' // Item quantity
]);


Given the previous answer <?php echo $_GET['products_id']; ?> I wonder if there is a way I can see the variables available so I don't have to bother the zencart geniuses? I can make guesses -- like category id may be <?php echo $_GET['category_id']; ?>

I have included the full script which at the moment is located at includes/modules/pages/checkout_success

Thanks much
Tom



<script type="text/javascript">
var _roi = _roi || [];

// Step 1: add base order details

_roi.push(['_setMerchantId', 'XXXXXXXX']); // required
_roi.push(['_setOrderId', '<?php echo $zv_orders_id; ?>']); // unique customer order ID
_roi.push(['_setOrderAmount', '<?php echo $orders->fields['order_total']; ?>']); // order total without tax and shipping
_roi.push(['_setOrderNotes', '']); // notes on order, up to 50 characters

// Step 2: add every item in the order
// where your e-commerce engine loops through each item in the cart and prints out _addItem for each
// please note that the order of the values must be followed to ensure reporting accuracy

_roi.push(['_addItem',
'', // Merchant sku
'', // Product name
'', // Category id
'', // Category name
'', // Unit price
'' // Item quantity
]);

// Step 3: submit transaction to ECN ROI tracker

_roi.push(['_trackTrans']);
</script>
<script type="text/javascript" src="https://stat.dealtime.com/ROI/ROI2.js"></script>