if params[:product_ids] && @products.length < params[:product_ids].length
        missing_products = params[:product_ids] - @products.pluck(:id)
        fail HttpErrors::NotFound, _("Couldn't find products with id '%s'") % missing_products.to_sentence
      end