Get product collect by store view

  $productcollection=$this->productFactory->create()->getCollection()
 ->addStoreFilter(2)
 ->addAttributeToSelect('*');;

Leave a Comment