Categories
computer engineering

How to display only specific categories on shop page on WooCommerce

I have been looking for this for a while with no luck. Finally I found some code that with small alterations worked. There can be other more effective solutions for this out there, but I am not aware of them.

So here it is.