Woocommerce has a category widget that lets you check
Show hierarchy and
Only show children for the current category.
Now the problem is the navigation shows empty categories. We only want to show empty parent categories that have child categories with products. People should not be able to drill down through levels of empty categories and end up on an empty category.
So please provide me a script that will hide empty categories in the woocommerce category widget that do not contain child categories with products.
28 freelancers are bidding on average $183 for this job
We have some questions regarding the project Let us know if we can discuss in greater details please This will help us both to formulate a better bid and timeframe Thanks