The problem is very simple. You need to display the full product names in the product box, but your theme keeps cutting them somewhere in the middle. What to do?

Well, the solution is not difficult, but you need to do this change manually in your theme and edit one TPL file.

What .TPL file should you edit?

Open this file:

/your_theme/templates/catalog/_partials/miniatures/product.tpl

Find this code:

<a href="{$product.url}">{$product.name|truncate:30:'...'}</a>

and increase the value 30 to 60 (or any other value you need).

Simple as that!

Don't forget to clear the Prestashop cache after this change.

Enjoy! :)


Andrej Staš

Andrej is a Prestashop enthusiast. He started by developing his own themes and then formed the idea of creating Theme Maker. He enjoys finding ways to make his life simpler, and that is the philosophy he incorporates into all his projects. Andrej is also interested in WordPress, Amazon FBA, drop shipping, studying languages, and reading books.

3 Comments

JUan · 7 years ago

Been looking for this solution for a while. thank a lot. !

Urs · 6 years ago

Hi
When I change the product.tpl file and I upgrade anytime, then I lost it, right?
How can I solve it without loosing my change?

Thanks
Urs

You must be logged in to post a comment.