I need a way to have 2 different layouts for Woocommerce prodcut categories. One for categories that contain products and another for categories that show sub-categories. I've been scouring the internet trying to find the relevant code but can't seem to find anything close to what I need.
Does anyone have any ideas as to how I can achieve this on my site?
Thanks in advance,
James