snowio/magento2-extended-product-repository-ee
最新稳定版本:v1.5.2
Composer 安装命令:
composer require snowio/magento2-extended-product-repository-ee
包简介
A Magento 2 EE module which allows product creation with extended attribute option labels.
README 文档
README
This module contains Magento EE specific functionality for the existing https://github.com/snowio/magento2-extended-product-repository module.
Special prices
This module allows for special prices to be saved as part of the standard snow product save request. Special prices can be added to product payloads under extension attributes.
Important
store_id is a required parameter for this request. This parameter can either be the store ID and integer OR the store code
as this is usually more accessible. Example payload in extension_attributes below:
"extension_attributes": {
"special_price": [
{
"store_id": "admin",
"price": "10.84",
"sku": "SKU01",
"price_from": "2019-12-03 13:48:06",
"price_to": "2020-12-04 00:00:00"
}
]
}
A successful requests will create the product special prices in accordance to Magento EE guidelines. This means the special prices will be created as a scheduled change (more info found in Magento docs).
As a side note, scheduled changes will create multiple versions of a single product. These versions are then active between the dates specified.
统计信息
- 总下载量: 77.77k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-11-06