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:

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! :)


Yassine BELKAID

Yassine is a senior PHP developer and enjoys writing flexible, well-thought-out, and reusable code. He is a Prestashop expert and consultant and has experience working on other platforms, such as Laravel, WordPress, and Symfony. In his spare time, you can find him reading about programming, hanging out with friends or visiting family.

3 Comments

JUan · 1 year ago

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

Urs · 10 months 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

Post your comment