Skip to content

Commit 124a1f9

Browse files
committed
ACP2E-4245: Bundle product price issue on cart page
- Item price was converted twice
1 parent e4a14e0 commit 124a1f9

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

app/code/Magento/Tax/Block/Item/Price/Renderer.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
22
/**
3-
* Copyright © Magento, Inc. All rights reserved.
4-
* See COPYING.txt for license details.
3+
* Copyright 2014 Adobe
4+
* All Rights Reserved.
55
*/
66
namespace Magento\Tax\Block\Item\Price;
77

@@ -209,11 +209,7 @@ public function formatPrice($price)
209209
public function getItemDisplayPriceExclTax()
210210
{
211211
$item = $this->getItem();
212-
if ($item instanceof QuoteItem) {
213-
return $item->getCalculationPrice();
214-
} else {
215-
return $item->getPrice();
216-
}
212+
return $item->getPrice();
217213
}
218214

219215
/**

0 commit comments

Comments
 (0)