Skip to content

Commit bff2b88

Browse files
committed
MAGETWO-83023: Resolve Error While Trying To Load Quote Item Collection Using Magent… magento#11869
- Merge Pull Request magento#11869 from neeta-wagento/magento2:feature-quote-getitemscollection - Merged commits: 1. 9d3be73 2. 18ac9e5
2 parents 373bd01 + 18ac9e5 commit bff2b88

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)