Jump to content

AJAX Stopped Working Inexplicably on Prestashop


facethefuture

Recommended Posts

Hi, hopefully someone can help.

All the ajax functions in prestashop have stopped working on our website inexplicably. This includes search drop down, add to cart, delete products in cart etc.

As such I've had to put our shop in maintenance mode.

We have 2 shops on domain, one is on prestashop 1.6.0.14 and one is on prestashop 1.6.1.9 and the issue has affected both.

Can anyone advise what may have caused this?

Thank you

Link to comment
Share on other sites

Have you tried switching on Debug mode to see what errors are shown

Or

See what errors are reported when you view the website in a browser console (e.e right click > inspect in chrome

Or

Have any changes been made on the server itself? are they self hosted (perhaps cpanel or similar has auto updated recently - or check  with your host if changes have beeen made)

Link to comment
Share on other sites

Thank you for your reply.

I ended up getting it working again by turning off  Smart cache for JavaScript and turning on Move JavaScript to the end.

However my settings had been the same for over a year. After that I changed the settings back to how they were and it was working.

The hosting company said there were no changes made, however I think it may have been something at their end.

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