WooCommerce 4.5.1 Fix Release

This release fixes a bug that was introduced with the 4.5.0 release.

In 4.5.0, if you have โ€œhide shipping costs until an address is enteredโ€ enabled in WooCommerce > Settings > Shipping > Shipping options, shipping was neither calculated nor added to the order for countries without a state required in the shipping address. (#27624)

Weโ€™ve fixed the issue and added additional tests to better prevent similar issues from occurring in the future. (#27628)

We highly recommend upgrading to this version, especially if you have โ€œhide shipping costs until an address is enteredโ€ enabled in your settings.

Here is the additional changelog for this release:

* Fix - Check for state and postcode fields only if required in `show_shipping`. #27628

Thanks to everyone for reporting this issue promptly and helping out with the fix release.

Download the latest release of WooCommerce here or visit Dashboard โ†’ Updates to update the plugin from your WordPress admin screen.

Leave a Reply

Your email address will not be published. Required fields are marked *