@ -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);
}