HAIRWEBSHOP Posted April 14, 2016 Share Posted April 14, 2016 Hallo, If I want to add a product to my cart, It sometimes outputs the following error: Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: Unexpected token F' responseText: Fatal error It usually happens the first time, and then it disappears. Can someone please helpe me figure this out? Thank you in advance! Link to comment Share on other sites More sharing options...
presta4you.com Posted April 14, 2016 Share Posted April 14, 2016 Give us your shop address. Probably this is problem with .js Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 14, 2016 Author Share Posted April 14, 2016 Hello presta4you.com, and thank you kindly for your reply. I'm afraid I can't do this at the moment, we're still building our webshop. Our webshop is now in maintenance mode. Link to comment Share on other sites More sharing options...
presta4you.com Posted April 14, 2016 Share Posted April 14, 2016 (edited) Ok. You changed some thinks inside code? If you see this problem you have error with: blockcart module or CartController or Class Cart. Edited April 14, 2016 by presta4you.com (see edit history) Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 14, 2016 Author Share Posted April 14, 2016 Not at all, actually. We did, however, migrate from WooCommerce. I've read that a PayPal module might be responsible for such behavior. We do use a PayPal Module from our payment gateway. Link to comment Share on other sites More sharing options...
Ittu Posted April 14, 2016 Share Posted April 14, 2016 Please check in browser console. Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 14, 2016 Author Share Posted April 14, 2016 Hello Ittu, There are no errors in browser console.The incident occurs once in awhile, so I can't exactly reproduce the problem. Link to comment Share on other sites More sharing options...
Ittu Posted April 15, 2016 Share Posted April 15, 2016 If you can share your site url then it will be easiest to find issue. Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 15, 2016 Author Share Posted April 15, 2016 (edited) I wish I could do that, but we're in maintenance mode right now.Putting it online prematurely could cause major SEO problems. I was hoping someone has encountered this before and could give me a clue as to where to look. Edited April 15, 2016 by HAIRWEBSHOP (see edit history) Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 28, 2016 Author Share Posted April 28, 2016 (edited) We're still experiencing this problem.Does anyone has a clue?We're using default theme and modules. Edited April 28, 2016 by HAIRWEBSHOP (see edit history) Link to comment Share on other sites More sharing options...
Teapot Creative Posted April 28, 2016 Share Posted April 28, 2016 Hi Have you tried uninstalling and re-installing the Block Cart module? Nick Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted April 28, 2016 Author Share Posted April 28, 2016 Hello Teapot Creative, No, but it's a fresh install and I did not modify the Block Cart Module or Prestashop in any way so I doubt it would solve the problem.Any experience with this problem? Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted May 2, 2016 Author Share Posted May 2, 2016 (edited) I created a cart rule for free shipping for orders over 35 euros for customers from the Netherlands. I also added another cart rule for free shipping for order over 50 euros for our belgium customers. I created two carriers, one for the Netherlands and another one for Belgium. For each carrier, I have configured a custom zone. When I add products to the cart with a total of below 35 euro, everything works fine.However, when it reaches 35 euro or more, it will result into an error. It seems that the error it is a result of that cart rule. Impossible to add the product to the cart. textStatus: 'parsererror' errorThrown: 'SyntaxError: Unexpected token F' responseText: Fatal error If I close the error and refresh the page, the product has been added to the cart and free shipping is activated. So free shipping is at least configured correctly. Can someone please help me figure this out.Thank you in advance. Edited May 2, 2016 by HAIRWEBSHOP (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted May 2, 2016 Share Posted May 2, 2016 case needs inspection of website from browser developers console there is no other way to solve it, because it is related to javascripts and it is necessary to debug it. without access it will be REALLY HARD to say something more Link to comment Share on other sites More sharing options...
HAIRWEBSHOP Posted May 2, 2016 Author Share Posted May 2, 2016 Thank you kindly for your reply vekia. Yes I know that vekia, but one can't put online a webshop that isn't finished, right.It will result in nasty SEO issues. I deleted all rules and added them again, now the problem seems to be solved.However, the cart rules are not working either. But that's another problem Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now