This commit is contained in:
2025-07-18 15:35:53 -07:00
parent 71411a2434
commit b2d74cc416
2 changed files with 9 additions and 2 deletions

View File

@@ -38,9 +38,11 @@ class WooCommerceCategoryLayout extends RadAction
echo site()->render("shop-sub-categories", $childCats);
}
if ($type === "both" || $type === "products") {
// die("why?");
// little inline style booger
if ($type === "both") {
echo site()->render("hideSubCatsForBoth");
}
echo site()->render('woocommerce-before-content');
}
}

View File

@@ -0,0 +1,5 @@
<style>
.products li.product-category {
display: none;
}
</style>