I have one attribute named "Features". Values for this attribute are coming from Lightspeed pos and input type for this attribute is a text field. Light speed doesn't provide a text area for this attribute.
I want to increase the character limit for this field in the admin. Right now the limit is 255 chars. So, how can I increase this limit?
Best Answer
Unfortunately your attribute seams to be of type
varchar
and here you have a database restriction to 255 characters in for thevalue
field of type varchar in the corresponding eav tablecatalog_product_entity_varchar
.You need an attribute of type
text
in order to store more data since then you will have avalue
field of type text with a restriction of 65,535 bytes in the corresponding eav tablecatalog_product_entity_text
.Now that's theory. Unfortunately Magento does not support the change of attribute type for good reason. Although there is a way doing that by database changes for varchar to text, I don't recommend that here - although for good reason :-)
I would suggest the following:
Of course you should test that approach in a test / stage environment before applying the changes in production.