-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Update Israeli ZIP code mask: 7 digits instead of 5 #16250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Israeli ZIP code mask: 7 digits instead of 5 #16250
Conversation
… Israeli postal office
Hi @itaymesh. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
@@ -196,7 +196,7 @@ | |||
</zip> | |||
<zip countryCode="IL"> | |||
<codes> | |||
<code id="pattern_1" active="true" example="12345">^[0-9]{5}$</code> | |||
<code id="pattern_1" active="true" example="6687865">^[0-9]{7}$</code> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you replace example with realistic one please?
According to https://en.wikipedia.org/wiki/Postal_codes_in_Israel 5 digit zip codes are still widely used but unofficially, should we support both patterns for some time maybe?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The example I used is a realistic one.
I think we should not support the old 5 digit format because it might cause a shipping bounce.
Hi @orlangur, thank you for the review. |
Hi @itaymesh. Thank you for your contribution. Please, consider to port this solution to 2.3 release line. |
Description
The Israeli ZIP code format had changed 2 years ago.
Magento uses the 5 digits format. It's old and outdated.
The new format is 7 digits.
Manual testing scenarios