Jump to content

(Solved) Categoriname


Recommended Posts

You will need to edit your ps_category_lang table uses phpMyAdmin, click the Structure tab, edit the name field and increase the field length from 64 to however many characters you need. You will then need to change line 64 (in PrestaShop v1.3.2) of classes/Category.php too:

protected     $fieldsSizeLang = array('name' => 64, 'link_rewrite' => 64, 'meta_title' => 128, 'meta_description' => 255, 'meta_keywords' => 255);



Change the 64 after 'name' to the number of characters you entered in the database.

Link to comment
Share on other sites

The category name is being truncated on line 8 of product-list.tpl in your theme's directory:

{if $product.new == 1}{l s='new'}{/if}{$product.name|escape:'htmlall':'UTF-8'|truncate:35:'...'}



Change 35 near the end of the line to the maximum number of characters you want displayed before it is truncated with ...

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