yireo-training/magento2-example-simple-extension-attributes

示例模块,演示了扩展属性(以及测试)的使用

dev-master 2020-11-24 07:41 UTC

This package is auto-updated.

Last update: 2024-09-24 16:13:05 UTC


README

创建扩展属性的示例。文件 extension_attributes.xml 列出了一些以纯文本值添加的新属性。接下来,使用插件将这些属性添加到存储库的输入和输出。值存储在单独的表中(请参阅设置类)。还有一个CLI命令作为概念证明。

安装

composer require yireo-training/magento2-example-simple-extension-attributes:dev-master