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
Related Tags
multistore × 1108magento2 × 316
magento-1.9 × 235
store-view × 167
multi-website × 70
multidomain × 69
product × 56
magento-1.8 × 53
magento-1.7 × 48
language × 46
url × 37
stores × 37
magento2.3 × 36
admin × 36
magento-2.1 × 30
multicurrency × 30
category × 27
url-rewrite × 27
configuration × 26
websites × 25
magento-1 × 22
price × 21
redirect × 20
localisation × 20
cart × 19