Pass cart values to is_valid_for_product method