$options ) : ?>
    id, $attribute_name, array( 'fields' => 'all' ) ); foreach ( $terms as $term ) { if ( in_array( $term->slug, $options ) ) { echo '
  • '; } } } else { foreach ( $options as $option ) { echo '
  • '; } } } ?>
get_variation_default_attribute( $attribute_name ); wc_dropdown_variation_attribute_options( array( 'options' => $options, 'attribute' => $attribute_name, 'product' => $product, 'selected' => $selected ) ); echo end( $attribute_keys ) === $attribute_name ? '' . __( 'Clear selection', 'bigc' ) . '' : ''; ?>
Clear selection