/** * Select the stock from given store. * * @param Mage_Core_Model_Store $store to look up stock * * @return FireGento_MultiStock_Model_Resource_Stock_Item_Collection */ public function selectStockFromStore($store) { $this->getSelect()->where('stock_id = ?', $store->getStockId()); return $this; }