“No shipping method chosen” after 4.0 update
-
We have a multistep checkout based on flatsome theme and the site is served to 3 different countries, that we ship to.
Now that I am testing with Woo4.0, in our address form we do not show a shipping method selection. We offer one generic method per country. But when clicking continue the address form validation complains about the missing shipping method – which it did not in Woo 3.9.3.
When overriding the filter WC()->cart->needs_shipping() with something like this:
add_filter(‘woocommerce_cart_needs_shipping’, function() { return false; }); I can continue in the checkout and create the order, but obviously it will then be created without a shipping line item.Is there a way to pre-select a shipping method and store it in the cart/session based on my current domain/country, in order to avoid this error?
- The topic ‘“No shipping method chosen” after 4.0 update’ is closed to new replies.