You're right, we should move this method in product repository to avoid future issues