Conditional logic - Specify if category archive has children

I’m wondering if there’s any way to target if an archive page, specifically a product category page that has children (subcategories).

I’ve recently moved a large open cart site over to woocommerce and there are hundreds of subcategories. I’m trying to design the category archive pages, using one of the category grid plugins from powerpack. It works great on top-level category pages, but it wont display subcategories, even if it says there are some.

I made a video to hopefully explain my issue

This was resolved via support ticket.

1 Like

My solution was to I used ACF to set a checkbox if it’s a top-level category, and then use that as a rule in themer