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:
@@ -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'}
|
||||
|
||||
Reference in New Issue
Block a user