Force user to confirm shipping method, even if only one is available
-
I have several shipping zone set-up with various delivery options, as well as a delivery zone where the only option is ‘Local pickup’. My problem is that we often get customers who live in the ‘Local pickup’-only zone, but don’t notice that that option is the only one available. This seems to be because when only one method is available for a given order, WooCommerce automatically selects that option.
Can I disable this behaviour? I would rather users get an error that no shipping method has been selected, and prompt them to actively select the ‘Local pickup’ option, even though it’s the only one available.
I’ve tried adding
add_filter('woocommerce_shipping_chosen_method', '__return_false', 99);
but that doesn’t seem to do what I’m after.
- The topic ‘Force user to confirm shipping method, even if only one is available’ is closed to new replies.