Jump to content

Adding products issue (JSON.parse)


Recommended Posts

Hello.

 

I am finishing to configure my shop, I was checking an error with adress in guest mode. Suddenly I am not able to add products to carts, I get this alert:

 

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data'
responseText:
{"products":[{"id":2,"link":"http:\/\/www.dragontee.com\/home\/2-camiseta-i-kill-jedi-for-food.html#\/talla-s","quantity":3,"image":"https:\/\/www.dragontee.com\/1-home_default\/camiseta-i-kill-jedi-for-food.jpg","image_cart":"https:\/\/www.dragontee.com\/1-cart_default\/camiseta-i-kill-jedi-for-food.jpg","priceByLine":"30,00 \u20ac","name":"Camiseta I KILL JEDI FOR FOOD","price":"30,00 \u20ac","price_float":30,"idCombination":3,"idAddressDelivery":0,"is_gift":false,"hasAttributes":true,"attributes":"S","hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"3,00 \u20ac","shippingCostFloat":3,"wrappingCost":"0,00 \u20ac","nbTotalProducts":3,"total":"33,00 \u20ac","productTotal":"30,00 \u20ac","freeShipping":"0,00 \u20ac","freeShippingFloat":0,"hasError":false,"crossSelling":""}

 

Last things I was modifying were translations (facebook block and the part of order that says "Are you registered?")

 

I refresh the page and product is charged into cart...

 

Any soltuion?

 

Greets and thanks.

 

(English is not my mother tongue so excuse me if you find some mistakes, I posted here because I think I would find more solutions than in spanish section)

Edited by otrolopezmas (see edit history)
Link to comment
Share on other sites

×
×
  • Create New...