Jump to content

error message when click on add to cart


Recommended Posts

when i add cart

this is the error

Impossible to add the product to the cart.

textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: bad control character in string literal'
responseText:

{
"products": [
{
"id": 867,
"id_image": "<br/>
<b>Notice</b>: Undefined index: img_name in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/>
<br/>
<b>Notice</b>: Trying to get property of non-object in <b>/home/mysite/public_html/cache/smarty/compile/c9/1e/e1/c91ee143be34acd39876dab1dcfa9b57288fc4ce.file.blockcart-json.tpl.php</b> on line <b>71</b><br/>
http://mysite.com/9695/japanese-fluorescent-green-bikini.jpg",
"link": "http://mysite.com/bikinis/867-japanese-fluorescent-green-bikini.html",
"quantity": 1,
"priceByLine": "SGD$34.00",
"name": "Japanese Flu...",
"price": "SGD$34.00",
"price_float": "34",
"idCombination": 0,
"idAddressDelivery": 17,
"hasAttributes": false,
"hasCustomizedDatas": false,
"customizedDatas":[
]
}],
"discounts": [
],
"shippingCost": "SGD$0.00",
"shippingCostFloat": "0",
"wrappingCost": "SGD$0.00",
"nbTotalProducts": "1",
"total": "SGD$34.00",
"productTotal": "SGD$34.00",
"hasError" : false
}
Link to comment
Share on other sites

  • 8 months later...
×
×
  • Create New...