fixed product
This commit is contained in:
parent
7ad626da07
commit
c898aa3e94
|
|
@ -55,7 +55,7 @@ class ProductRepo
|
|||
*/
|
||||
public static function getProductsByIds($productIds): AnonymousResourceCollection
|
||||
{
|
||||
$builder = self::getBuilder(['product_ids' => $productIds]);
|
||||
$builder = self::getBuilder(['product_ids' => $productIds])->whereHas('master_sku');
|
||||
$products = $builder->get();
|
||||
$items = ProductList::collection($products);
|
||||
return $items;
|
||||
|
|
|
|||
Loading…
Reference in New Issue