Jump to content

Problem quantity on product page at 0 (drop down list) when product already added to cart


muksu

Recommended Posts

Hello

I have a problem on product page.
Quantity on product page at 0 (drop down list) when product already added to cart and page is refreshed

See attached pictures

Here is what I do to see the BUG :

I go on any product page
I add a product to cart and stay on product page and refresh page
(or come back to same product page without refresing)
The drop down list is at 0 (if product is effectivelly into the cart

What is the problem with it

Please help me

My Prestashop is PS817

Best regards

 

 

 

 

 

 

STEP01.jpg

STEP02.jpg

Link to comment
Share on other sites

Well, that's actually a normal behavior designed by PrestaShop so you won't add product to the cart above the available stock.

Usually the theme displays an "out of stock" message in this case. I sometimes advise people to change it to something saying "Out of stock or you already have all available stock in your cart".

Link to comment
Share on other sites

Hello

That is not the case because the product has a lot of stock it is not depleted.

So why dors it goes back to 0

By the way if at 0 you can select more and add it to cart... no problem...

But why does it get to 0 and not 1 ?

 

Link to comment
Share on other sites

In this case it may be a bug, but in the theme that you are using. Prestashop has it done correctly in the standard theme, and for sure in version 8.1.7 it works well.

After adding a product to the cart, the quantity selector should get reset to 1 indeed.

Link to comment
Share on other sites

Hi,

This issue could be due to a bug in the theme you are using. In PrestaShop’s default theme, the functionality is implemented correctly, and in version 8.1.7, it works as expected.

After adding a product to the cart, the quantity selector should automatically reset to 1, as intended.

Regards.

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