From 38794c413aeeb1f7f056c9e1b140d4dc857c9857 Mon Sep 17 00:00:00 2001 From: Kurtis Holsapple Date: Fri, 18 Jul 2025 15:52:26 -0700 Subject: [PATCH] changes --- actions/ShopPageShowCatsInsteadAction.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/ShopPageShowCatsInsteadAction.php b/actions/ShopPageShowCatsInsteadAction.php index a82c065..ff7fe52 100644 --- a/actions/ShopPageShowCatsInsteadAction.php +++ b/actions/ShopPageShowCatsInsteadAction.php @@ -38,8 +38,9 @@ class ShopPageShowCatsInsteadAction extends RadAction $withoutUncategorized = array_filter($productCats, fn ($c) => $c->slug != "uncategorized"); $topLevelCats = array_filter($withoutUncategorized, fn ($c) => $c->parent == 0); + // echo foreach ($topLevelCats as $cat) { - echo site()->render("page-tile", $cat); + echo "
".site()->render("page-tile", $cat)."
"; } // var_dump($topLevelCats); }