Zaktualizuj rozmiar i czas modyfikacji plików szablonów, usuń tymczasowe pliki obrazu oraz uprość wyświetlanie nazw produktów w szablonie miniatur.

This commit is contained in:
2025-09-20 21:18:35 +02:00
parent d895f86a03
commit 9dc9a8c890
4 changed files with 12 additions and 15 deletions

View File

@@ -7377,8 +7377,8 @@
},
"front.tpl": {
"type": "-",
"size": 19601,
"lmtime": 1754338438943,
"size": 19705,
"lmtime": 1757443703631,
"modified": false
},
"index.php": {
@@ -14072,8 +14072,8 @@
},
"ps_shoppingcart.tpl": {
"type": "-",
"size": 19416,
"lmtime": 1755850704059,
"size": 19544,
"lmtime": 1757443628303,
"modified": false
}
},

View File

@@ -716,14 +716,11 @@ product-mobile-row
{hook h='displayProductListReviews' product=$product}
{/block}
{block name='product_name'}
<h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">
{if Module::isEnabled('an_theme') and Module::getInstanceByName('an_theme')->getParam('product_miniatureTitleLength')}
{$max_titlelength = Module::getInstanceByName('an_theme')->getParam('product_miniatureTitleLength')}
{$product.name|truncate:$max_titlelength:'...'}
{else}
{$product.name|truncate:30:'...'}
{/if}
</a></h3>
<h3 class="h3 product-title" itemprop="name">
<a href="{$product.url}">
{$product.name}
</a>
</h3>
{/block}