def get_attribute_terms(product):
    """
    Function to iterate through all variants of a variable product and compile a list of attribute terms from them.

    :param product: Variable product and variants information
    :return: list of term names
    """
    attribute_terms = list()
    for variation in product['variants']:
        if variation['option_1_value'] not in attribute_terms:
            attribute_terms.append(variation['option_1_value'])
    return attribute_terms