Skip to content

Commit e77fc02

Browse files
ashutoshedenduong
authored andcommitted
fixed Quote Item Prices are NULL in cart related events. #18685
1 parent 3f24171 commit e77fc02

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
@@ -95,7 +95,7 @@ public function prepare(Item $item, DataObject $request, Product $candidate): vo
9595
$item->setData(CartItemInterface::KEY_QTY, 0);
9696
}
9797
$item->addQty($candidate->getCartQty());
98-
98+
$item->setPrice($item->getProduct()->getFinalPrice());
9999
$customPrice = $request->getCustomPrice();
100100
if (!empty($customPrice)) {
101101
$item->setCustomPrice($customPrice);

0 commit comments

Comments
 (0)