Page 1 of 1

The item with "out of stock" status can be added to the cart

Posted: 11 Feb 2018, 18:09
by sulpher
Hi Jan,
I set up "out of stock" status to the item and noticed I still can add it to the cart and see the item at the checkout page.
Perhaps it would be good not to display "add to cart" button for out of stock items?

Re: The item with "out of stock" status can be added to the cart

Posted: 12 Feb 2018, 19:55
by Jan
Hi, which version of Phoca Cart do you use, this was added to version 3.0.3:

Image

Jan

Re: The item with "out of stock" status can be added to the cart

Posted: 20 Feb 2018, 18:43
by sulpher
Hi Jan,
I am using the latest version 3.0.3. No attributes are used, just a product with the price and "out of stock" status.
Perhaps I missed some settings... Is there a special option in global settings that need to be enabled to avoid adding "out of stock" products to the cart?
Thank you.

Re: The item with "out of stock" status can be added to the cart

Posted: 20 Feb 2018, 22:33
by Jan
If you enable stock checking, you can add the item to cart (when the button add to cart will be displayed) but in checkout you get the information that the item cannot be ordered and you cannot go through the checkout.

Jan

Re: The item with "out of stock" status can be added to the cart

Posted: 20 Feb 2018, 23:02
by sulpher
Oh, I didn't know that... Thanks for the advice.
Now I found the param called Hide Add To Cart Button (Product Out Of Stock) and disabled it.
As a result, the buy button is no longer appears on a product page, but it is still available in the category (list of products).

Re: The item with "out of stock" status can be added to the cart

Posted: 25 Feb 2018, 20:15
by Jan
Hi, see the screenshot above, the button is hidden in category view when set in Options :idea:

Image

Re: The item with "out of stock" status can be added to the cart

Posted: 02 Apr 2018, 17:12
by sulpher
Sorry for the late reply.
The problem is still actual.

Product settings:
Image

Global configuration:
Image

No add to cart button at product page:
Image

But the add to cart button is still displays in the list of products:
Image

Info:
Phoca Cart 3.0.3
Joomla 3.8.6
No layout override via Joomla template is used

Re: The item with "out of stock" status can be added to the cart

Posted: 03 Apr 2018, 14:22
by Jan
Hi, is:

Display Stock Status parameter enabled?
Image