get_variation_default_attribute( $attribute_name ); wc_dropdown_variation_attribute_options( array( 'options' => $options, 'attribute' => $attribute_name, 'product' => $product, 'selected' => $selected, 'class'=>'kad-select') ); echo end( $attribute_keys ) === $attribute_name ? '' . __( 'Clear selection', 'virtue' ) . '' : ''; ?> |