Jump to content

[Solved][PS 8] 2nd line in product title


Ritter

Recommended Posts

No not neccessary in a child theme (but child theme is recommended anyhow in case you want to modifiy any template files). If the file does not exist simly create it in /themes/theme_name/assets/css/

Link to comment
Share on other sites

Kidnly remove the "|truncate:30:'...'" from the below file

\themes\{Your-theme}\templates\catalog\_partials\miniatures\product.tpl

Replace

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

with

 {if $page.page_name == 'index'}
            <h3 class="h3 product-title"><a href="{$product.url}" content="{$product.url}">{$product.name}</a></h3>
          {else}
            <h2 class="h3 product-title"><a href="{$product.url}" content="{$product.url}">{$product.name}</a></h2>
          {/if}

Screenshot : https://nimb.ws/ITaAmu

It is the easiest way to achieve the same.

Edited by Knowband Plugins (see edit history)
  • Like 1
Link to comment
Share on other sites

  • Ritter changed the title to [Solved][PS 8] 2nd line in product title
  • 1 month later...

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...