magento2-connector-community
magento2-connector-community copied to clipboard
cost & special_price importing to Magento as $0 when value is Null in Akeneo and attributes is mapped.
Environment and configuration
- Magento ver. 2.4.3-p2
- Extension Version 102.6.1
- Akeneo Version | 5.0.11
Steps to reproduce
-
Map special_price and cost in cofiguration --> products --> Attribute Mapping (as instructed in settings "Fill additional Magento attributes from Akeneo attributes. "price" "special_price" and "cost" attributes won't be automatically mapped unless you explicitely declare them in this configuration.")
-
Import products from akeneo. 1 with a value in akeneo for special_price and cost, and 1 without a value in akeneo for special_price and cost.
Expected result
- For products with a value in akeneo for special_price and cost, value is imported properly to Magento. For products without a value in akeneo (NULL) for special_price and cost, no value is imported to Magento (value is blank).
Actual result
- For products without a value in akeneo (NULL) for special_price and cost, $0 is imported to Magento (value is set to 0). This causes an issue as all pricing is updated to $0 when no special_price is used.
For products with a value in akeneo for special_price and cost, value is imported properly to Magento.