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:
@@ -716,16 +716,13 @@ 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}
|
||||
|
||||
|
||||
|
||||
{block name='product_price_and_shipping'}
|
||||
{if $product.show_price}
|
||||
@@ -767,10 +764,10 @@ product-mobile-row
|
||||
|
||||
{/block}
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
{/block}
|
||||
|
||||
Reference in New Issue
Block a user