We’ll be happy to help! Reviewing your site, I see you’re using the Product Categories List. One option to hide the subcategories is first having them displayed in hierarchy mode, like this:
Then you can hide them through CSS, like this:
/* Hide subcategories from product list on the sidebar | 8653780-zen OP */ .widget-area ul.wc-block-product-categories-list.wc-block-product-categories-list--depth-1 { display: none; }
You can apply it by following these steps:
Go to your WordPress.com dashboard and navigate to Appearance > Customize.
In the Customizer, select the Additional CSS option.
Add the CSS provided here.?
Click the “Publish” button to save the changes.
If you encounter any difficulties or have any further questions, please don’t hesitate to let me know. I’ll be glad to assist you further.
On the other hand, the option for “Only show children of current category” will only show the child categories of the page you’re currently on but it won’t show all the parent categories, and it’ll show the entire list on the main shop page, so it doesn’t quite achieve the desired effect you’re looking for.
Glad to know that we were able to help. I will mark this thread as resolved. Should you have further inquiries, kindly create a new topic here.
Meanwhile, if it isn’t too much to ask for – would you mind leaving us a review here? It only takes a couple of minutes but helps us tremendously. It would mean so much to us and would go a long way.