Skip to content

Commit 954f94f

Browse files
author
Oleksii Korshenko
authored
MAGETWO-83023: Resolve Error While Trying To Load Quote Item Collection Using Magent… magento#11869
2 parents dc8d5e1 + bff2b88 commit 954f94f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ protected function _construct()
101101
*/
102102
public function getStoreId()
103103
{
104-
return (int)$this->_quote->getStoreId();
104+
return (int)$this->_productCollectionFactory->create()->getStoreId();
105105
}
106106

107107
/**

0 commit comments

Comments
 (0)