Default Shipping Zone missing for logged in customers
-
I encountered a problem in our shop after we updated from Woocommerce 5.2.3 to 5.5.1. Since we’ve skipped several versions during the update, I did the updates step by step on a development environment and noticed that the problem already occurs when updating from 5.2.3 to 5.3.1.
The problem is this: When an existing customer logs in with no country/region stored in the account for billing and shipping address, he does not see any shipping methods in the shopping cart and during checkout. This seems to be because they are not assigned to the default shipping zone anymore.
Previously, customers who had not stored a country/region in der billing or shipping address were also assigned the default shipping zone. Now this no longer seems to be the case.
This also becomes visible when we compare the results of the shipping debug mode of a customer who has no country/region set in his account:
- Woocommerce 5.2.3: Customer matched zone “Switzerland” (which is the default zone in our case).
- Woocommerce 5.3.1: Customer matched zone “Locations not covered by your other zones”.
As we only ship to a single country, we had previously deactivated the billing_country and shipping_country fields in the checkout, which is why many of our existing customers do not have a country stored in their address fields.
I wonder if this change in behaviour is related to the following fix introduced in Woocommerce 5.3.0? Fix #29605
Do you have any idea what would be the best way to solve this problem?
- The topic ‘Default Shipping Zone missing for logged in customers’ is closed to new replies.