File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
app/code/Magento/Sales/Model/AdminOrder Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -902,7 +902,6 @@ public function applySidebarData($data)
902
902
$ this ->removeItem ($ itemId , 'cart ' );
903
903
}
904
904
}
905
- $ this ->recollectCart ();
906
905
}
907
906
if (isset ($ data ['add_wishlist_item ' ])) {
908
907
foreach ($ data ['add_wishlist_item ' ] as $ itemId => $ qty ) {
@@ -926,13 +925,14 @@ public function applySidebarData($data)
926
925
foreach ($ data ['remove ' ] as $ itemId => $ from ) {
927
926
$ this ->removeItem ($ itemId , $ from );
928
927
}
929
- $ this ->recollectCart ();
930
928
}
931
929
if (isset ($ data ['empty_customer_cart ' ]) && (int )$ data ['empty_customer_cart ' ] == 1 ) {
932
930
$ this ->getCustomerCart ()->removeAllItems ()->collectTotals ();
933
931
$ this ->quoteRepository ->save ($ this ->getCustomerCart ());
934
932
}
935
933
934
+ $ this ->recollectCart ();
935
+
936
936
return $ this ;
937
937
}
938
938
You can’t perform that action at this time.
0 commit comments