dmatthew / magento2-attribute-description
Add descriptions to your product attributes.
Installs: 37 284
Dependents: 0
Suggesters: 0
Security: 0
Stars: 22
Watchers: 4
Forks: 12
Open Issues: 1
Type:magento2-module
Requires
- php: ^7.1||^8.0
- magento/module-catalog: 102.0.*|103.0.*|104.0.*
- magento/module-eav: 101.0.*|102.0.*|102.1.*
- magento/module-store: 100.2.*|101.0.*|101.1.*
README
This is a Magento 2 module that adds the ability to add desciptions to product attributes. Add descriptions to configurable attributes and display them on your product view pages. Use attribute descriptions to help explain complex attributes to your customers. If you have unique attributes that need additional explanations beyond the attribute's name then this module will work for you. Attribute descriptions are stored in a new eav_attribute_description
table.
Managing Attribute Descriptions Though the Admin
Developer Usage
General Usage
/** @var $attribute Dmatthew\AttributeDescription\Model\Entity\Attribute **/ $description = $attribute->getStoreDescription($storeId);
Frontend Usage
The attribute description has been added to the JSON configuration for the Configurable product type. This means developers can use the product attribute description in any JS code which utilizes the \Magento\ConfigurableProduct\Block\Product\View\Type::getJsonConfig()
function.