where('group_id', $this['current_product']['group_id']) надо бы поменять на whereHas('group', fn($query) => $query->where('id', $this['current_product']['group_id'])) Там ведь belongsToMany
Kostya_Bizin (6.04) увеличил карму LeMaX10 (11489.06) 💙💛
Обсуждают сегодня