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 8
8
use Magento \Catalog \Helper \Product \ConfigurationPool ;
9
9
use Magento \Framework \Event \ManagerInterface as EventManager ;
10
10
use Magento \Framework \Api \DataObjectHelper ;
11
+ use Magento \Framework \Api \ExtensibleDataInterface ;
11
12
12
13
/**
13
14
* Cart item totals converter.
@@ -68,6 +69,8 @@ public function modelToDataObject($item)
68
69
$ this ->eventManager ->dispatch ('items_additional_data ' , ['item ' => $ item ]);
69
70
$ items = $ item ->toArray ();
70
71
$ items ['options ' ] = $ this ->getFormattedOptionValue ($ item );
72
+ unset($ items [ExtensibleDataInterface::EXTENSION_ATTRIBUTES_KEY ]);
73
+
71
74
$ itemsData = $ this ->totalsItemFactory ->create ();
72
75
$ this ->dataObjectHelper ->populateWithArray (
73
76
$ itemsData ,
You can’t perform that action at this time.
0 commit comments