开发者

Magento product name as text instead of varchar

开发者 https://www.devze.com 2023-01-13 04:35 出处:网络
How could I alter the product name attribute so it\'s text instead of varchar? Is there a way of doing this through Magento?

How could I alter the product name attribute so it's text instead of varchar? Is there a way of doing this through Magento?

I'm currently migrating an old database and开发者_StackOverflow社区 the product names are much longer than varchar can fit.

Thanks!


I'm not a Magento expert yet, but out of a common knowledge of E-Commerce systems, I'm not sure this is a good idea. The product name is being used in numerous places around the system (e.g. in reports; in confirmation E-Mails ....) that would all have to be checked for limitations and breaking layouts.

Would it not be conceivable to either

  • Put the long name into a description field that already is of the type TEXT, and put a cut-off version into the name field

  • Put the long name into a description field, and alter any needed layouts so that description field is shown in place of the product name?

0

精彩评论

暂无评论...
验证码 换一张
取 消