Jump to content

come aumentare il testo nelle thumb descrizione prodotto--how to increase the text in the thumb product description


pietro

Recommended Posts

come aumentare il testo nelle thumb descrizione prodotto, anche se da b0 aumento il numero dei caratteri in front office la descrizione del prodotto viene segata con puntini... sono sicuro che la modifica deve essere effettuata sul database, poitete aiutarmi? grazie
how to increase the text in the thumb product description,even if Bo increases the number of characters in front office the description of the product is dotted with dots ... i'm sure the modification must be done on the database, poitete help me? thank you

 

 

thumb.jpg

Link to comment
Share on other sites

  • 2 years later...

You have to edit a TPL.

themes\classic\templates\catalog\_partials\miniatures\product.tpl -  line 45.

        {block name='product_name'}
          {if $page.page_name == 'index'}
            <h3 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h3>
          {else}
            <h2 class="h3 product-title" itemprop="name"><a href="{$product.url}">{$product.name|truncate:30:'...'}</a></h2>
          {/if}
        {/block}

You have to edit  truncate: 30, to the number of characters that you desire.

 

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...