skip to Main Content

Change payment method title based on selected shipping method in WooCommerce checkout

I`m trying to make a switch on (COD) cash on delivery label if the delivery option is selected The user has 2 options on delivery: <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_samedaycourier724" value="samedaycourier:7:24" class="shipping_method"> <input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_samedaycourier15ln" value="samedaycourier:15:LN" class="shipping_method" checked="checked">…

VIEW QUESTION
Back To Top
Search