diff --git a/actions/WooCommerceCategoryLayout.php b/actions/WooCommerceCategoryLayout.php index 5c639b3..c06b06e 100644 --- a/actions/WooCommerceCategoryLayout.php +++ b/actions/WooCommerceCategoryLayout.php @@ -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'); } } diff --git a/tpl/hideSubCatsForBoth.tpl b/tpl/hideSubCatsForBoth.tpl new file mode 100644 index 0000000..23120ef --- /dev/null +++ b/tpl/hideSubCatsForBoth.tpl @@ -0,0 +1,5 @@ +