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

Example module demonstrating usage of extension attributes (and tests)

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

This package is auto-updated.

Last update: 2024-03-24 15:02:00 UTC


README

An example of how to create Extension Attributes. The file extension_attributes.xml lists some new attributes that are added as plain text values. Next, a Plugin is used to add the attributes to the repository input and output. Values are stored in a separate table (see the Setup class). There is a CLI command as a proof of concept.

Installation

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