We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents be83f5b + b1b6318 commit 9ac5a2aCopy full SHA for 9ac5a2a
app/code/Magento/Quote/Model/Cart/CartTotalRepository.php
@@ -12,6 +12,7 @@
12
use Magento\Framework\Api\DataObjectHelper;
13
use Magento\Quote\Model\Cart\Totals\ItemConverter;
14
use Magento\Quote\Api\CouponManagementInterface;
15
+use Magento\Framework\Api\ExtensibleDataInterface;
16
17
/**
18
* Cart totals data object.
@@ -94,6 +95,7 @@ public function get($cartId)
94
95
$addressTotalsData = $quote->getShippingAddress()->getData();
96
$addressTotals = $quote->getShippingAddress()->getTotals();
97
}
98
+ unset($addressTotalsData[ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY]);
99
100
/** @var \Magento\Quote\Api\Data\TotalsInterface $quoteTotals */
101
$quoteTotals = $this->totalsFactory->create();
0 commit comments