diff --git a/app/Service/v3/Implementations/ShopCartService.php b/app/Service/v3/Implementations/ShopCartService.php index 6167609..e97c963 100644 --- a/app/Service/v3/Implementations/ShopCartService.php +++ b/app/Service/v3/Implementations/ShopCartService.php @@ -248,7 +248,7 @@ class ShopCartService implements ShopCartServiceInterface ]) ->where(['user_id' => $userId]) ->where(['market_id' => $marketId]); - if (!empty($carts)) { + if (!empty($shopcartIds)) { $carts = $carts->whereIn('id', $shopcartIds); }