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


Share this post

Link to post
Share on other sites

Have you found anything for this topic? Our shops add to cart button stopped working too...

Share this post

Link to post
Share on other sites

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.

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More