Magento 产品名称为文本而不是 varchar
如何更改产品名称属性,使其为文本而不是 varchar?有没有办法通过 Magento 做到这一点?
我目前正在迁移一个旧数据库,并且产品名称比 varchar 可以容纳的长得多。
谢谢!
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 the product names are much longer than varchar can fit.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我还不是 Magento 专家,但出于对电子商务系统的常识,我不确定这是一个好主意。产品名称在系统周围的许多地方使用(例如在报告中;在确认电子邮件中......),所有这些都必须检查是否有限制和破坏布局。
将
TEXT
类型的描述字段,并将截止版本放入名称字段将长名称放入描述字段,并更改任何所需的布局,以便显示描述字段来代替产品名称?
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 fieldPut the long name into a description field, and alter any needed layouts so that description field is shown in place of the product name?