As I ask upon:
https://magento.stackexchange.com/q/369468/113388
I have a list of skus:
$skus = ['24-MB01','24-MB04','24-UG01'];
And based on these I want to retrieve the products:
/**
* @var \Magento\Catalog\Model\ProductRepository
*/
private $productRepository
...
$this->productRepository->addFieldToFilter('sku',$skus);
But I cannot get them. Do you have any idea on how I can do this?
Top comments (0)