Jump to content

Add to cart not working after enabling stock management


Recommended Posts

Hello everyone,

Im struggling with the following :

When i enable stock management and allow to order products that aren't in stock in the backend of our webshop the add to cart stops working. 

The version of Prestashop is 1.7.5.2 and i have the following server information :

 

 

Servergegevens Linux #1 SMP Fri Dec 6 15:49:49 UTC 2019 x86_64

Server softwareversie: Apache/2

PHP-versie: 7.1.33

Geheugenlimiet: 512M

Maximale uitvoeringstijd: 0

Maximale bestandsgrootte voor uploads: 64M

I'm using the Classic template, and our website is : https://stickermaster.nl

 

I have the stock management disabled right now because customers can't order if enabled.

 

Link to comment
Share on other sites

  • 4 weeks later...

Seems like I've tackled the problem:

 - The site was moved from another provider and the domain was also changed. One module had the log file path from the old site. Frustrating to spend hours and hours for such a stupid mistake. Still cannot understand how this kind of an error can affect running the JS ?!?!?!?! But it's working now.

Found this out by enabling debug at the Presta backend. Then opened the frontend and press refresh. Suddenly a huge amount of errors concerning this one module and at the very first line the error was told. Bugger...

I hope this helps someone else.

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