Important
You are browsing upcoming documentation for version 6.1 of OroCommerce, scheduled for release in 2025. Read the documentation for version 6.0 (the latest LTS version) to get up-to-date information.
See our Release Process documentation for more information on the currently supported and upcoming releases.
OroTagBundle
OroTagBundle implements tags for application entities and enables users to manage tags on entity view pages, observe them in DataGrids, and use them as filtering fields in report query builders. With this bundle, admin users can enable or disable the tag feature for particular entities in the entity management UI.
Developers can also configure tags for every entity in the entity configuration metadata.
Entity Configuration
Tags can only be enabled for Configurable entities. To enable tags for an entity, use the #[Config] attribute, e.g.:
...
#[Config(
defaultValues: [
...
'tag' => ['enabled' => true]
...
]
)]
...
Tags can also be enabled/disabled for an entity in the UI System > Entities > Entity Management (attribute Tagging).
Please note, Taggable interface is still supported, but deprecated. If entity implements Taggable interface, you cannot disable tagging for it in the UI.