Skip to content

Commit 68a92b3

Browse files
committed
Set price on quote item instead of base_price
1 parent 2932016 commit 68a92b3

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/code/Magento/Tax/Model/Sales/Total/Quote/CommonTaxCollector.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -724,8 +724,7 @@ protected function processAppliedTaxes(
724724
*/
725725
public function updateItemTaxInfo($quoteItem, $itemTaxDetails, $baseItemTaxDetails, $store)
726726
{
727-
//The price should be base price
728-
$quoteItem->setPrice($baseItemTaxDetails->getPrice());
727+
$quoteItem->setPrice($itemTaxDetails->getPrice());
729728
if ($quoteItem->getCustomPrice() && $this->taxHelper->applyTaxOnCustomPrice()) {
730729
$quoteItem->setCustomPrice($itemTaxDetails->getPrice());
731730
}

0 commit comments

Comments
 (0)