Hello,
i have a product with attributes and advanced stock management.
main product has no stock. stock is based on attributes
attributes are a pull down selection box.
the stock is managed by advanced stock and price management.
buy button is hidden when item is not in stock.
when i set hide products not in stock it does not show the product at all.
when the product is visable, al attributes are selectable.. based on stock you can order or not.
would be nice to hide variants that are not in stock.
so, when set hide product not in stock it wil check main stock and/or variant stock.
if one of the variants is in stock it wil show the product and with only variants in stock are selectable.
can this be done?.. if so the how to.. otherwise add this as a feature..
defined product based.. some products are are ordable (even out of stock) other products not.
so phoca cart general setting and you can define on group or product define specific.
Hide products (attributes/variant) not in stock
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
- Nidzo
- Phoca Professional
- Posts: 390
- Joined: 07 Nov 2018, 14:55
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide products (attributes/variant) not in stock
Hi, for now, you can hide the non existing combination - the main product - for example if there is a t-shirt with size XL and color blue, there is no t-shirt without color and without size (main product) - in such case you can disable it with this parameter: Remove Select Option:
But there is no option to hide the zero stock value options.
Jan
But there is no option to hide the zero stock value options.
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Professional
- Posts: 225
- Joined: 31 Dec 2020, 09:46
Re: Hide products (attributes/variant) not in stock
can you explain. i do not follow what you are saying whit this.
i have this option turned on..
i have this option turned on..
- Jan
- Phoca Hero
- Posts: 48403
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Hide products (attributes/variant) not in stock
When a product has attributes, it includes e.g. select box of attributes. So you can select the attribute.
If this option is enabled, the "select attribute" value in select box is removed, which means, user can only see selected value in attributes select box (there is no option to select "nothing" ... "nothing" means the main product")
Example: T-Shirt
You have a T-Shirt with attributes color and size and if this parameter is disables, you can theoretically select main product - T-Shirt without color and size. If you enable it, there is no such option more as color or size - the default option will be automatically set. So this parameter prevents from ordering main product which does not exist.
Jan
If this option is enabled, the "select attribute" value in select box is removed, which means, user can only see selected value in attributes select box (there is no option to select "nothing" ... "nothing" means the main product")
Example: T-Shirt
You have a T-Shirt with attributes color and size and if this parameter is disables, you can theoretically select main product - T-Shirt without color and size. If you enable it, there is no such option more as color or size - the default option will be automatically set. So this parameter prevents from ordering main product which does not exist.
Jan
If you find Phoca extensions useful, please support the project