Jump to content

Edit History

Toulousain

Toulousain


solved

Hello,

I want to change the length of the product name by increasing the number of characters allowed.
Before version 1.7.8.2, you just had to replace in the file product.php the line :

name' => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => false, 'size' =>128,

The parameter

'size' => 128

By 

'size' => 190 // 190 being the new number of characters we want.

Since version 1.8.2 

'size' => 128

is replaced 
by 

'size' => ProductSettings::MAX_NAME_LENGTH]

 

It seems now that there is a configuration parameter from the backoffice but I can't find it.

Do you know where it can be found ?

Thanks a lot 

Toulousain

Toulousain

Hello,

I want to change the length of the product name by increasing the number of characters allowed.
Before version 1.7.8.2, you just had to replace in the file product.php the line :

name' => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => false, 'size' =>128,

The parameter

'size' => 128

By 

'size' => 190 // 190 being the new number of characters we want.

Since version 1.8.2 

'size' => 128

is replaced 
by 

'size' => ProductSettings::MAX_NAME_LENGTH]

 

It seems now that there is a configuration parameter from the backoffice but I can't find it.

Do you know where it can be found ?

Thanks a lot 

Toulousain

Toulousain

Hello,

I want to change the length of the product name by increasing the number of characters allowed.
Before version 1.7.8.2, you just had to replace in the file product.php the line :

name' => ['type' => self::TYPE_STRING, 'lang' => true, 'validate' => 'isCatalogName', 'required' => false, 'size' =>128,

 

'size' => 128

By 

'size' => 190 // 190 being the new number of characters we want.

Since version 1.8.2 

'size' => 128

is replaced 
by 

'size' => ProductSettings::MAX_NAME_LENGTH]

 

It seems now that there is a configuration parameter from the backoffice but I can't find it.

Do you know where to find it?

Thanks a lot 

×
×
  • Create New...