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?

945 浏览助理开发人员考试测试题库

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?

0
【腾讯云】618采购季来袭!爆款云服务器18元起,参与活动享多重好礼
Speed Up Your Magento Store by 300%
【腾讯云】境外1核2G服务器低至2折,半价续费券限量免费领取!