Skip to content

Commit 957b835

Browse files
ENGCOM-1962: [Backport] Resolve Error While Trying To Load Quote Item Collection Using Magent… #2 magento#15829
- Merge Pull Request magento#15829 from neeta-wagento/magento2:2.1-develop-PR-port-11869 - Merged commits: 1. c261156 2. 950e317
2 parents 4d1b832 + 950e317 commit 957b835

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
@@ -95,7 +95,7 @@ protected function _construct()
9595
*/
9696
public function getStoreId()
9797
{
98-
return (int)$this->_quote->getStoreId();
98+
return (int)$this->_productCollectionFactory->create()->getStoreId();
9999
}
100100

101101
/**

0 commit comments

Comments
 (0)