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

Example module demonstrating usage of extension attributes (and tests)

Installs: 33

Dependents: 1

Suggesters: 0

Security: 0

Stars: 11

Watchers: 3

Forks: 3

Open Issues: 0

Type:magento2-module

pkg:composer/yireo-training/magento2-example-simple-extension-attributes

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

This package is auto-updated.

Last update: 2025-09-24 18:30:58 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