Please try this $storeid = 27; $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $productCollectionFactory = $objectManager->get('\Magento\Catalog\Model\ResourceModel\Product\CollectionFactory'); $collection = $productCollectionFactory->create(); $collection->addAttributeToSelect('*') $collection->addStoreFilter($storeid); Hope this will help and make sure the id you are passing is available.