changes
This commit is contained in:
@@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
5
tpl/hideSubCatsForBoth.tpl
Normal file
5
tpl/hideSubCatsForBoth.tpl
Normal file
@@ -0,0 +1,5 @@
|
||||
<style>
|
||||
.products li.product-category {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user