Add category description for specific URI in product list template

This commit introduces a conditional display of the category description
in the product list template for the specific URI '/60-koldry/s-1/rozmiar-160x200_cm/rodzaj-koldry'.
When this URI is accessed, a predefined description "Opis kategorii"
will be shown to enhance user experience and provide relevant information.
This commit is contained in:
2025-09-17 23:08:06 +02:00
parent 8e8c3ed28c
commit 1267056c07
3 changed files with 723 additions and 7970 deletions

View File

@@ -74,7 +74,9 @@
<div id="category-description" class="text-muted">{$category.description nofilter}</div>
{/if}
{/if}
{if $smarty.server.REQUEST_URI == '/60-koldry/s-1/rozmiar-160x200_cm/rodzaj-koldry'}
<div id="category-description" class="text-muted">Opis kategorii</div>
{/if}
{else}
{include file='errors/not-found.tpl'}