Temporarily disable one product attribute value
-
Hi,
I’m developing this one site with a WooCommerce store in which I have 100+ products. There are 10 different product attributes of which one is called “Installation” and it has two terms “Installed” and “Product only”. Meaning that customer can either choose to either buy only the product for x price or buy the product with installation service for x+y price. 81 products use this “Installation” attribute.
There has been some changes in the plans and the “Product only” term won’t be availabe at the site launch, but will be made available later. So my problem now is how to disable the “Product only” attribute term and all the product variations using it temporarily.
I could just delete the term, but then I would have to manually remake the variations later again. Or I could go through all the products and one by one set the variations inactive, but that would be awful lot of manual work again.
My question, is there some kind of filter/hook/snippet I can use to hide or set inactive one attribute term?
Thanks,
kantti
- The topic ‘Temporarily disable one product attribute value’ is closed to new replies.