File tree Expand file tree Collapse file tree 1 file changed +3
-0
lines changed
app/code/Magento/Quote/Model/Cart/Totals Expand file tree Collapse file tree 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change 88use Magento \Catalog \Helper \Product \ConfigurationPool ;
99use Magento \Framework \Event \ManagerInterface as EventManager ;
1010use Magento \Framework \Api \DataObjectHelper ;
11+ use Magento \Framework \Api \ExtensibleDataInterface ;
1112
1213/**
1314 * Cart item totals converter.
@@ -68,6 +69,8 @@ public function modelToDataObject($item)
6869 $ this ->eventManager ->dispatch ('items_additional_data ' , ['item ' => $ item ]);
6970 $ items = $ item ->toArray ();
7071 $ items ['options ' ] = $ this ->getFormattedOptionValue ($ item );
72+ unset($ items [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]);
73+
7174 $ itemsData = $ this ->totalsItemFactory ->create ();
7275 $ this ->dataObjectHelper ->populateWithArray (
7376 $ itemsData ,
You can’t perform that action at this time.
0 commit comments