1

Try this protected $_productCollectionFactory; public function __construct( ....................................... \Magento\Catalog\Model\ResourceModel\Product\CollectionFactory $productCollectionFactory, ....................................... ) { ....................................... $this->_productCollectionFactory =...


Only top voted, non community-wiki answers of a minimum length are eligible