I’m seeing a similar issue – although in my case I get the “no shipping methods available” when the rules are globals aswell as attached to shipping zones.
They only work if I enable another shipping method to use alongside them, like flat rate shipping. Then they are selectable, and I can remove the flat rate shipping and they work for a while, then stop working again. Stumped.
Scratch my last – my weight rules were conflicting and my odd results were me fiddling with local rules while globals were set.
I got mine working by disabling all global rules, setting up one shipping zone and attaching weight based shipping rules to that. Start with one that will match everything to make sure they display, then work up from there. Make sure that the weights you use in the “above” and “below” boxes don’t conflict with other rules – so don’t have Below or equal to 10 in one rule, and above or equal to 10 in another rule (I believe the plugin will work with this and just give you the option on the cart page, but this made it easier for me to find a problem rule). Make sure all your products have a weight set.
I went through it like this, re-added my rules and it’s working now. If you make incremental changes you should be able to see where the problem lies.
Hope that helps.
-
This reply was modified 5 years, 5 months ago by
alancolyer.
Plugin Author
Dan
(@dangoodman)
@alancolyer, thank you for the update. Yes, setting things up incrementally is always a good way to debug anything.
@zlows, the no-shipping-methods message means what it says: there are no rules matching an order.
A couple of things to note which might be helpful to get a right direction investigating the issue:
1. Shipping Zones are not controlled by Weight Based Shipping. They are built in WooCommerce.
2. Both WooCommerce and Weight Based Shipping have many active installations. That means you have to be very lucky to find a bug in it.
Give that, most likely you have a misconfiguration issue. To check whether it’s related to WooCommerce or Weight Based Shipping do a simple test. Add some built-in shipping method, e.g. Flat Rate, to a shipping zone you are currently testing. If it works, you have an issue with WBS configuration. Let me know if that’s the case and we’ll proceed. If it doesn’t, you have an issue with WooCommerce configuration. In that case, you can contact their support area for a faster resolution.