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?
The item with "out of stock" status can be added to the cart
- sulpher
- Phoca Professional
- Posts: 105
- Joined: 28 Feb 2017, 09:45
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The item with "out of stock" status can be added to the cart
Hi, which version of Phoca Cart do you use, this was added to version 3.0.3:
Jan
Jan
If you find Phoca extensions useful, please support the project
- sulpher
- Phoca Professional
- Posts: 105
- Joined: 28 Feb 2017, 09:45
Re: The item with "out of stock" status can be added to the cart
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.
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.
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The item with "out of stock" status can be added to the cart
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
Jan
If you find Phoca extensions useful, please support the project
- sulpher
- Phoca Professional
- Posts: 105
- Joined: 28 Feb 2017, 09:45
Re: The item with "out of stock" status can be added to the cart
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).
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).
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The item with "out of stock" status can be added to the cart
Hi, see the screenshot above, the button is hidden in category view when set in Options
If you find Phoca extensions useful, please support the project
- sulpher
- Phoca Professional
- Posts: 105
- Joined: 28 Feb 2017, 09:45
Re: The item with "out of stock" status can be added to the cart
Sorry for the late reply.
The problem is still actual.
Product settings:
Global configuration:
No add to cart button at product page:
But the add to cart button is still displays in the list of products:
Info:
Phoca Cart 3.0.3
Joomla 3.8.6
No layout override via Joomla template is used
The problem is still actual.
Product settings:
Global configuration:
No add to cart button at product page:
But the add to cart button is still displays in the list of products:
Info:
Phoca Cart 3.0.3
Joomla 3.8.6
No layout override via Joomla template is used
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: The item with "out of stock" status can be added to the cart
Hi, is:
Display Stock Status parameter enabled?
Display Stock Status parameter enabled?
If you find Phoca extensions useful, please support the project