Skip to content

Commit 9816358

Browse files
committed
Merge remote-tracking branch 'mage3/2.4-develop' into AC-8147-V1
2 parents b5e99d2 + b88f076 commit 9816358

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Quote/Model/Quote/Item/Processor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ public function prepare(Item $item, DataObject $request, Product $candidate): vo
101101
}
102102

103103
$customPrice = $request->getCustomPrice();
104-
if (!empty($customPrice) && !$candidate->getParentProductId()) {
104+
if ($customPrice !== null && !$candidate->getParentProductId()) {
105105
$item->setCustomPrice($customPrice);
106106
$item->setOriginalCustomPrice($customPrice);
107107
}

0 commit comments

Comments
 (0)