Closed gglobalstep closed 1 year ago
We discovered that the OBW doesn't display the Postal Code field for certain countries, such as Nigeria, because they don't actually use postal codes (https://github.com/woocommerce/woocommerce/issues/21055). (p1679982098441029/1679926954.465149-slack-C011ENB20Q1 )
Currently, the "Add store details" task is considered completed when the store address, city, and postal code are all set. We should account for whether or not countries require a postal code in the store details task. This information can be obtained from WC_Countries.
Prerequisites
Describe the bug
"Add store details" task fails to mark as completed for selecting Nigeria based address while OBW.
Expected behavior
"Add store details" task should be marked as completed for selecting Nigeria based address while OBW.
Actual behavior
"Add store details" task fails to mark as completed for selecting Nigeria based address while OBW.
Steps to reproduce
Screenshot:
WordPress Environment
Woocommerce Version: WooCommerce 7.6.0-beta.1 WordPress version: 6.2-RC3
PC: Windows 10 Chrome(Version 111.0.5563.111) Firefox(Version 111.0.1)
Isolating the problem