Menu Content

Support

> Forums, FAQs & Paid Support
Welcome, Guest
Username Password: Remember me

Fix for JS error
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Fix for JS error

Fix for JS error 13 years, 1 month ago #24931

  • mtg
  • OFFLINE
  • Posts: 14
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 !
The topic has been locked.

Re: Fix for JS error 11 years, 8 months ago #37300

Hello Guys according to my thinking javaScript error was encounted while running a web site.JavaScript mistake has occured error messages.If you pc has some or all of the issues above,then you should fix JavaScript issues like:
Download JS fix device and set up it
Click the Start key
Click fix Items..........
The topic has been locked.
  • Page:
  • 1
User Login Empty