Error : missing ) after argument list.
Replace
getVMTrackCodeOld() with this :
function getVMTrackCodeOld ()
{
$code = sprintf(" pageTracker._addTrans('%d', '%s', '%f', '%s', '%f', '%s', '%s', '%s');\n",
$this->autoincrement->Auto_increment,
addslashes($this->vendor->vendor_store_name),
$this->totals['order_total'],
$this->totals['order_tax'],
$this->totals['order_shipping'],
addslashes($this->shopper->city),
addslashes($this->shopper->state),
addslashes($this->shopper->country)
);
$cart = $_SESSION['cart'];
for ($i = 0; $i < $cart['idx']; $i++) {
$item = $this->getProductInfo($cart[$i]['product_id'], $cart[$i]['description']);
$code .= sprintf(" pageTracker._addItem('%d', '%s', '%s', '%s', '%f', '%f');\n",
$this->autoincrement->Auto_increment,
addslashes($item->product_sku),
addslashes($item->product_name),
addslashes($item->categories),
$item->product_price,
$cart[$i]['quantity']
);
}
$code .= " pageTracker._trackTrans();\n";
return $code;
}
Please fix in next release !