Jump to content

Add To Cart Null Quantity Error

Recommended Posts

Hello ,

I have prestashop installed with hotel reservation system installed , i have installed related products free module , when product shows as related i click add credits io get this error : Null Quantity even if quantity is good not 0 ?


can u help me please urgent


Thanks in advance



Share this post

Link to post
Share on other sites
  • 1 year later...


This error is being handled in the CartController.php file  and you have this:

 if ($this->qty == 0) {
                    'Null quantity.',

Witch means you are trying  to  add   a product  with  a null  qty  .

Share this post

Link to post
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...

Important Information

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