Skip to content

Commit

Permalink
resolve Error While Trying To Load Quote Item Collection Using Magent…
Browse files Browse the repository at this point in the history
…o\Quote\Model\ResourceModel\QuoteItem\Collection::getItems()
  • Loading branch information
neeta-wagento committed Oct 30, 2017
1 parent 08f0056 commit 9d3be73
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,13 +95,13 @@ protected function _construct()
}

/**
* Retrieve store Id (From Quote)
* Retrieve store Id (From Quote)
*
* @return int
*/
public function getStoreId()
{
return (int)$this->_quote->getStoreId();
return (int)$this->_productCollectionFactory->create()->getStoreId();
}

/**
Expand Down

0 comments on commit 9d3be73

Please sign in to comment.