Jump to content

How to add lenght of Product Name at Field "Name :" on Bo ?


ShukrieySaid

Recommended Posts

Hello Guy,

 

I need help for solve my problem..I want to add lenght of my product name in bo..Because my Product Name is too long...i dont know how to find the thing.

Please Help..

 

Im Using Prestashop 1 . 6 .1 .7

 

i attached here 

Edit this file: /classes/Product.php and around line @330 you will find this line of code:

'name' => array('type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => true, 'size' => 128),

Change the size of the field from 128 to the value that you need

  • Like 1
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...