【发布时间】:2015-11-19 15:25:38
【问题描述】:
我想更改属性选项标签并将其存储在 Akeneo 1.4.9 中,但我不知道应该使用哪些处理程序/工厂。
我使用MyAttributeOptionValueInterface->setLabel('new Label') 更改标签。如何将结果保存到数据库中?
我的想法:
- 从属性中删除旧选项 (
AttributeInterface->removeOption(optionWithOldLabel)) - 再次添加 (
AttributeInterface->addOption(optionWithNewLabel)) - 将属性存储在数据库中(如何?)。
这是正确的方法吗?欢迎任何提示。
【问题讨论】:
标签: akeneo