You need to locate several products. You run this code: $productRepository->getList($criteriaBuilder->addFilter(‘type_id’, ‘bundle’)->getItems(); However, you get an error: Type SearchCriteriaInterface expected. What is the solution?
You need to locate several products. You run this code: $productRepository->getList($criteriaBuilder->addFilter(‘type_id’, ‘bundle’)->getItems(); However, you get an error: Type SearchCriteriaInterface expected. What is the solution?
You need to locate several products. You run this code: $productRepository->getList($criteriaBuilder->addFilter(‘type_id’, ‘bundle’)->getItems(); However, you get an error: Type SearchCriteriaInterface expected. What is the solution?