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": { "front.tpl": {
"type": "-", "type": "-",
"size": 19601, "size": 19705,
"lmtime": 1754338438943, "lmtime": 1757443703631,
"modified": false "modified": false
}, },
"index.php": { "index.php": {
@@ -14072,8 +14072,8 @@
}, },
"ps_shoppingcart.tpl": { "ps_shoppingcart.tpl": {
"type": "-", "type": "-",
"size": 19416, "size": 19544,
"lmtime": 1755850704059, "lmtime": 1757443628303,
"modified": false "modified": false
} }
}, },

View File

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