snowio / magento2-extended-product-repository-ee
A Magento 2 EE module which allows product creation with extended attribute option labels.
Installs: 75 374
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 4
Forks: 3
Open Issues: 0
Type:magento2-module
Requires
- php: >=7
- magento/framework: ^100|^101|^102|^103
- magento/module-catalog: ^101|^102|^103|^104
- magento/module-catalog-staging: ^100.2.2
- snowio/magento2-extended-product-repository: ^3.0
Requires (Dev)
- phpunit/phpunit: ^4.1|^6
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.