From 890dd5bd31448c14fb4f47a3b4be7aa98b6ce1eb Mon Sep 17 00:00:00 2001 From: DualFroz Date: Wed, 26 Aug 2026 21:36:21 +0200 Subject: [PATCH] views: add catalog listing page --- views/catalog/index.php | 123 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 123 insertions(+) create mode 100644 views/catalog/index.php diff --git a/views/catalog/index.php b/views/catalog/index.php new file mode 100644 index 0000000..74f0760 --- /dev/null +++ b/views/catalog/index.php @@ -0,0 +1,123 @@ + $total]) + : $t('catalog.resultsMany', ['count' => $total]); +$pageQuery = $_GET; +unset($pageQuery['page']); +$baseQuery = http_build_query($pageQuery); +?> +
+
+
+
+

+

+
+
+ +
+ + +
+
+ +
+ $term, 'category' => $activeCategory, 'minPrice' => $minPrice, 'maxPrice' => $maxPrice] as $name => $carry): ?> + + + $valueSlugs): ?> + + + + + + +
+
+ + +
+ +

+

+ +
+ +
+ + renderPartial('partials.productCard', ['product' => $product, 'currency' => $currency, 'wishlisted' => $wishlisted]) ?> + +
+ + 1): ?> + + + +
+
+
+