Skip to content

Commit b58d1f9

Browse files
MC-39282: Bundled product cannot be saved when tier price is assigned and Magento\Framework\Api\ExtensibleDataObjectConverter is used to convert product data
1 parent f70063c commit b58d1f9

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Catalog/Model/Product/Type

1 file changed

+1
-1
lines changed

app/code/Magento/Catalog/Model/Product/Type/Price.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public function getTierPrices($product)
379379
if (array_key_exists('website_price', $price)) {
380380
$value = $price['website_price'];
381381
} else {
382-
$value = $price['price'] ?: null;
382+
$value = $price['price'] ?? 0;
383383
}
384384
$tierPrice->setValue($value);
385385
$tierPrice->setQty($price['price_qty']);

0 commit comments

Comments
 (0)