Jump to content

Can't add product to cart, delete from card, strange digits on template


Recommended Posts

Hi everyone,
In the middle of configuring PrestaShop I got a two strange errors:
 
- When I try to add product to cart I get following error:
 

Impossible to add the product to the cart.
textStatus: 'parsererror'
errorThrown: 'SyntaxError: Unexpected token {'
responseText:
111111111111111111111111111111111111111111{"products":[{"id":412,"link":"http:\/\/ehydraulika.pl\/grzejniki-aluminiowe\/412-fondital-nova-florida-serir-800-grzejnik-aluminiowy.html","quantity":2,"image":"http:\/\/ehydraulika.pl\/906-home_default\/fondital-nova-florida-serir-800-grzejnik-aluminiowy.jpg","image_cart":"http:\/\/ehydraulika.pl\/906-cart_default\/fondital-nova-florida-serir-800-grzejnik-aluminiowy.jpg","priceByLine":"95,00 z\u0142","name":"Fondital Nova Florida Serir Super 800 grzejnik aluminiowy","price":"95,00 z\u0142","price_float":77.24,"idCombination":0,"idAddressDelivery":0,"is_gift":false,"hasAttributes":false,"hasCustomizedDatas":false,"customizedDatas":[]}],"discounts":[],"shippingCost":"0,00 z\u0142","shippingCostFloat":0,"wrappingCost":"0,00 z\u0142","nbTotalProducts":2,"total":"95,00 z\u0142","productTotal":"95,00 z\u0142","freeShipping":"0,00 z\u0142","freeShippingFloat":0,"hasError":false,"crossSelling":""

 

- I also get some random digits (ones) on the top of the layout.

 

I tried to clean cache, cookies and disable debug. No result.

 

The shop is avalible at http://ehydraulika.pl/

Link to comment
Share on other sites

tuk66 already done that, no results:

http://ctrlv.in/562487

 

Strange thing is that when the cart is empty, there is 111111 (6), when there is something in the cart (no mather how many items and products), there is 111111111111111111111111111111111111111111 (42)...

 

I think that it has to be some php or js codes output, but don't know how to find it. Any ideas?

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...