雪犬 / module-product-attribute-description
该扩展添加了一个产品属性的新字段,允许添加一些HTML文本,稍后在前端通过API端点提取
1.2.0
2022-08-01 07:34 UTC
Requires
- magento/framework: 100.1.*|101.0.*|102.0.*|103.0.*
- magento/module-catalog: 101.0.*|102.0.*|103.0.*|104.0.*
This package is auto-updated.
Last update: 2024-09-09 14:55:36 UTC
README
该扩展允许通过属性管理编辑页面设置产品属性描述
1. 安装
composer require snowdog/module-product-attribute-description
bin/magento module:enable Snowdog_ProductAttributeDescription
bin/magento setup:upgrade
2. 使用
- 产品属性编辑页面将出现一个新标签“属性描述”,它将打开一个Wysiwyg编辑器
- 属性描述可以通过属性属性
snowproductattributedescription_description
或attribute_description
在产品页面中显示 - 它还可以通过API端点在任何地方访问
GET /V1/snowproductattributedescription/description/:attributeCode
其中 :attributeCode
是属性代码标识符