I’m using woocommerce for my e-commerce website. I need to keep sold out products visible for my clients but I want to hide attributes of sold out products in filtering area. for example if all products of an attribute is out of stock, I don’t want the users to see and select the attribute while filtering the products.
This is my shop page address: www.dyadartisans.com/shop
I tried some plugins but I prefer a snippet
New contributor
Behnam khazaei is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.