I have successfully added a custom field to the woocommerce page called 'delivery_day' which is placed below the Order Notes. This custom field is only added to the checkout page if a particular shipping method is selected on the cart page.
If the user decides to change the shipping method on the checkout page, I require the custom 'delivery_day' field to then be removed/hidden.
Any suggestions would be greatly appreciated.
Is there a way to refresh the billing/shipping section of the checkout page when shipping method is changed? Or could this be achieved using some jQuery?
delivery_day
field. api.jquery.com/change, api.jquery.com/val, api.jquery.com/hide – Will