Skip to content

Commit 7ab19aa

Browse files
committed
Merge remote-tracking branch 'origin/AC-8147-V1' into spartans_pr_10122025
2 parents 9f0f320 + 72d5851 commit 7ab19aa

File tree

2 files changed

+402
-312
lines changed

2 files changed

+402
-312
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)