To simplify things, enabled is not stored at gateway level any longer. It’s stored in the shipping zone methods database table and toggled at zone level.
OK, thank you! So all older shipping methods are “broken” because it is not possible to disable them through administration? There is no backwards compatibility and we should add support for newest WooCommerce version with shipping zones immediatelly? Or is there any quick and easy fix available?
No, old shipping methods are left as-is and use the same ‘enabled’ field from before.
Yes, but this “enabled” field from before does not work? Even if I uncheck it, shipping method is still available during checkout?
No issues I’m aware of regarding ‘enabled’ for the old methods.
1) Please take this code and save it as plugin, then activate.
2) Change $this->enabled to “no”.
3) Go to checkout and you will see that this shipping method is still active. It is not possible to disable this shipping method.
Make sure you turn on shipping debug mode in settings -you may just be seeing cached rates.
No, there is no problem with cache, Shipping debug mode is on. I have also similar reports from other users…