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.
1 parent 33ffcd3 commit 8e0c8a6Copy full SHA for 8e0c8a6
app/code/Magento/Quote/Model/Cart/Totals/ItemConverter.php
@@ -8,6 +8,7 @@
8
use Magento\Catalog\Helper\Product\ConfigurationPool;
9
use Magento\Framework\Event\ManagerInterface as EventManager;
10
use Magento\Framework\Api\DataObjectHelper;
11
+use Magento\Framework\Api\ExtensibleDataInterface;
12
13
/**
14
* Cart item totals converter.
@@ -68,6 +69,8 @@ public function modelToDataObject($item)
68
69
$this->eventManager->dispatch('items_additional_data', ['item' => $item]);
70
$items = $item->toArray();
71
$items['options'] = $this->getFormattedOptionValue($item);
72
+ unset($items[ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY]);
73
+
74
$itemsData = $this->totalsItemFactory->create();
75
$this->dataObjectHelper->populateWithArray(
76
$itemsData,
0 commit comments