Mandatory custom radio button choice on Woocommerce checkout
I've got this custom code working to add a couple of radio buttons into the checkout: add_action( 'woocommerce_review_order_before_payment', 'display_extra_fields_after_billing_address' , 10, 1 ); function display_extra_fields_after_billing_address () { ?> <h3 class="delivery-options-heading">Delivery Options <sup>*</sup></h3> <div class="delivery-options"> <p><input type="radio" name="delivery_option" value="Have the courier…