Jump to content

Impossible to add the product to the cart


Recommended Posts

This is my second store and I'm not sure why I'm getting this error when I trying to add a simple test product to the cart? Fortunately, I only have two products entered in the website, so I'm happy to catch this early.

 

I click on the product, then click on the Add to Cart button, and it throws the "Impossible to add the product to the cart".

 

Any idea what's going on here?

 

Thanks in advance!

 

Eric

 

===============================================================

 

Impossible to add the product to the cart.
 
textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: bad control character in string literal'
responseText:
{
"products": [
{
"id":            8,
"quantity":      1,
"priceByLine":   "$7.95",
"name":          "Lo Lo To Go",
"price":         "$7.95",
"price_float":   "7.95",
"idCombination": 1,
"idAddressDelivery": 0,
"is_gift" : 0,
"hasAttributes": true,
"attributes":    "Aqua Force: Cool Water",
"hasCustomizedDatas": false,
"customizedDatas":[
]
}],
"discounts": [
],
"shippingCost": "$7.00",
"shippingCostFloat": "7",
"wrappingCost": "$0.00",
"nbTotalProducts": "1",
"total": "$14.95",
"productTotal": "$7.95",
"hasError" : false}
Link to comment
Share on other sites

-more-

 

Strangely, when I access the cart, the orders are there, so it's throwing the error, but adding to the cart anyway. I've read all of the other threads with similar issues, but none of the solutions offered have fixed the problem...

Link to comment
Share on other sites

×
×
  • Create New...