categories – Woocommerce only display child category when parent is checked (on add new product page)


On Woocommerce’s Products --> Add New page, when I’m choosing categories, is it possible to only display child categories when their parent is checked? I was thinking about using some CSS to see if a checkbox is checked, and then set display: none to display: block. I could not do it this way, because WooCommerce uses the same classnames everywhere…

Daniel Mozsar 2 years 2022-03-19T13:16:48-05:00 0 Answers 0 views 0

Leave an answer