Jump to content

Recommended Posts

Bonjour, j'ai l'erreur suivante quand je met un produit dans le panier:

 

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 739 of the JSON data'

 

merci de votre aide

Link to comment
Share on other sites

voila tous ce qu'il me retourne

 

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: JSON.parse: unexpected non-whitespace character after JSON data at line 1 column 739 of the JSON data'
responseText:
{"products":[{"id":1,"link":"http:\/\/livresebooks.com\/fr\/accueil\/1-about-edmond-pack.html","quantity":2,"image":"http:\/\/livresebooks.com\/2-home_default\/about-edmond-pack.jpg","image_cart":"http:\/\/livresebooks.com\/2-cart_default\/about-edmond-pack.jpg","priceByLine":"1.80 \u20ac","name":"About Edmond Pack","price":"1.80 \u20ac","price_float":1.8,"idCombination":0,"idAddressDelivery":5,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"0.00 \u20ac","shippingCostFloat":0,"wrappingCost":"0.00 \u20ac","nbTotalProducts":2,"total":"1.80 \u20ac","productTotal":"1.80 \u20ac","freeShipping":"0.00 \u20ac","freeShippingFloat":0,"hasError":false,"crossSelling":""}

Link to comment
Share on other sites

Ceci est la réponse POST (voir la fin):

This is the POST response (see the end):

{"products":[{"id":1,"link":"http:\/\/livresebooks.com\/fr\/accueil\/1-about-edmond-pack.html","quantity":3,"image":"http:\/\/livresebooks.com\/2-home_default\/about-edmond-pack.jpg","image_cart":"http:\/\/livresebooks.com\/2-cart_default\/about-edmond-pack.jpg","priceByLine":"2.70 \u20ac","name":"About Edmond Pack","price":"2.70 \u20ac","price_float":2.7,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"0.00 \u20ac","shippingCostFloat":0,"wrappingCost":"0.00 \u20ac","nbTotalProducts":3,"total":"2.70 \u20ac","productTotal":"2.70 \u20ac","freeShipping":"0.00 \u20ac","freeShippingFloat":0,"hasError":false,"crossSelling":""}<center><script type="text/javascript" src="http://www.unmilliondevisiteurs.com/um.js?nid=8971"></script></center>
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...