Jump to content

Property Product->name length - I need to increase over 128 -HOW?


Recommended Posts

Hi All,

 

I am sorry as a newbie that I don't know how to do this but I get the following error when I try and import my product list. 

 

  1. Zega Pro2 "And-Black" Aluminium Pannier System 38/45 liter with stainless steel rack black for BMW R1200GS from 2013/ BMW R1200GS Adventure from 2014 (ID: 01-045-6087-0) cannot be saved
  2. Property Product->name length (149) must be between 0 and 128

If there is anything you can suggest it would be appreciated!! :-) 

 

Nigel

 

post-437318-0-64518400-1399196450_thumb.png

Edited by TTNZ (see edit history)
Link to comment
Share on other sites

open: classes/Product.php

 

there is a line:
 

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

change "size" param above.

 

 

but it's not all, it's necessary to change database also.

open phpmyadmin (or other script/software to manage databse)

 

go to ps_product_lang table and change length of "name" field (by default it's also varchar with length 128)

  • Like 1
Link to comment
Share on other sites

×
×
  • Create New...