From 60fcfeeeb80ef378c2fc465b7daa07f6a0b42fe2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Hlav=C3=A1=C4=8Dek?= Date: Mon, 16 Sep 2024 22:49:37 +0200 Subject: [PATCH] Use category thumbnail --- templates/catalog/_partials/subcategories.tpl | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/templates/catalog/_partials/subcategories.tpl b/templates/catalog/_partials/subcategories.tpl index cc7cfbf97..04f2639f7 100644 --- a/templates/catalog/_partials/subcategories.tpl +++ b/templates/catalog/_partials/subcategories.tpl @@ -11,12 +11,21 @@
- {if !empty($subcategory.image.small.url)} + {if !empty($subcategory.thumbnail.small.url)} {$subcategory.name|escape:'html':'UTF-8'} + {else} + {$subcategory.name|escape:'html':'UTF-8'}