skip to Main Content

Magento 2.2 product collection factory not returning all products

I'm trying to get all products using collectionFactory in a custom module like this: $products = $this->_productCollectionFactory->create(); ->addAttributeToSelect('*'); where _productCollectionFactory is initialized in the __construct() as an instance of MagentoCatalogModelResourceModelProductCollectionFactory $productCollectionFactory, the problem is that, without any applied filter, the…

VIEW QUESTION
Back To Top
Search