dmatthew/magento2-attribute-description
最新稳定版本:0.2.5
Composer 安装命令:
composer require dmatthew/magento2-attribute-description
包简介
Add descriptions to your product attributes.
README 文档
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.
License
统计信息
- 总下载量: 55.7k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 21
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-04-14
