• Hi! I’ve edited the code a bit and it seems pretty nice ??

    echo '<input type="radio" value="' . strtolower($term->slug) . '" ' . checked( strtolower ($selected_value), strtolower ($term->slug), false ) . ' id="' . apply_filters( 'woocommerce_variation_option_name', $term->name ).'" name="attribute_'. sanitize_title($name).'"><label for="' . apply_filters( 'woocommerce_variation_option_name', $term->name ).'">' . apply_filters( 'woocommerce_variation_option_name', $term->name ).'</label><br />';

    https://www.ads-software.com/plugins/woocommerce-radio-buttons/

  • The topic ‘[Idea] Selection by clicking on the text’ is closed to new replies.