How to add a radio button with price on product page
How to add a radio button with price on product page? WordPress woocommerce Add to follows code snippets to achieve your work: [php]function add_custom_fees_before_add_to_cart() { global $product; $args = array( ‘type’ => ‘radio’, ‘class’ => array( ‘form-row-wide’ ), ‘options’ => array( ” => ‘No Option’, ’10’ => ‘Option 1 ($10)’, ’30’ => ‘Option 2 ($30)’, … Read more