Jump to content

Product names cut on category view


Recommended Posts

Hello,

 

I'm using theme classic version 1.0.0 on a Prestashop 1.7.

 

The product names on the category view are cut. See attached screenshot.

Is there a way to prevent that or change the lenght of the name dislayed ?

 

Thank you in advance for your support.

 

 

Capture.PNG

Link to comment
Share on other sites

hi there,

go /themes/classic/templates/catalog/_partials/miniatures/product.tpl

and search for this <h3 class="h3 product-title"><a href="{$product.url}" content="{$product.url}">{$product.name|truncate:30:'...'}</a></h3> (Line 72, 74)
then replace the number of caractere 30 to whatever number you want or just remove |truncate:30:'...' to display full title.

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