-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
Add mexican regions #18896
Add mexican regions #18896
Conversation
Hi @lexcast. Thank you for your contribution
For more details, please, review the Magento Contributor Assistant documentation |
ac58f96
to
0f95a4d
Compare
*/ | ||
private function getDataForMexico() | ||
{ | ||
return [ |
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.
Hey @lexcast thanks for your contribution! I compared the region list with the wiki list and looks like "Mexico City" (CMX) region is missing https://en.wikipedia.org/wiki/Template:Mexico_State-Abbreviation_Codes However, I'm not sure if it should be included
'CAM' => 'Campeche', | ||
'CHP' => 'Chiapas', | ||
'CHH' => 'Chihuahua', | ||
'CMX' => 'Ciudad de México', |
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.
Hi @sivaschenko, "Mexico City" is in this line, in spanish is "Ciudad de México"
Hi @lexcast thank you for the update, we'd like to merge this contribution to 2.3-develop branch first. Could you please create a forwardport? |
Hi @sivaschenko I created a PR for 2.3 #21180 In order to merge this PR Soon for 2.2. |
Hi @osrecio, thank you for the review. |
This is quite interesting. For argentinian regions we have a composer module, do you think is it worth including in the core also? Keep in mind any country might want to add regions too. |
Hi @miguelbalparda , IMHO all the countries should be welcome to the core. We can work to create a PR to add Regions of Argentina. What do you think? If it is declined we will have an aswer 😄 |
We are already working on this, will update you once all the work pending is completed. |
Accepted Public Pull Requests: - #21763: Spelling Correction (by @ansari-krish) - #21740: Removed extra whitespaces (by @yogeshsuhagiya) - #21731: Fixed wrong proxing in the inventory observer (by @VitaliyBoyko) - #21683: Correct spelling (by @ravi-chandra3197) - #21444: Disable dropdown in JavaScript and CSS Settings in developer configuration (by @ananth-iyer) - #21582: Fixed Whitespace issues for related, cross and upsell grids (by @amol2jcommerce) - #21600: Fixed typo mistake (by @yogeshsuhagiya) - #21468: Fix long string display horizontal scroll in all pages in admin (by @mageprince) - #21189: Fix/issue 18761 (by @DenisSaltanahmedov) - #21180: [ForwardPort] #18896 Add Mexico Regions (by @osrecio) - #20001: #13612 Fixed-Quantity_and_stock_status when visibility set to storefront throwing exception (by @aditisinghcedcoss) Fixed GitHub Issues: - #167: Fatal error: Class 'Mage' not found (reported by @clockworkgeek) has been fixed in #21731 by @VitaliyBoyko in 2.3-develop branch Related commits: 1. 3819dc1 - #21384: JS minify field is not disabled in developer configuration (reported by @DanielRuf) has been fixed in #21444 by @ananth-iyer in 2.3-develop branch Related commits: 1. a5bdc38 2. ab2d0e4 - #21541: Whitespace issues for related, cross and upsell grids (reported by @Zyles) has been fixed in #21582 by @amol2jcommerce in 2.3-develop branch Related commits: 1. 9ab463f - #18761: Bug with REPLACE method in Advanced Prices in CSV Import (reported by @kamilmaliszewski) has been fixed in #21189 by @DenisSaltanahmedov in 2.3-develop branch Related commits: 1. a572ae2 2. 6692e08 - #13612: 1 exception(s): Exception #0 (Exception): Warning: Illegal offset type in isset or empty in /home/jewelrynest2/public_html/magento/vendor/magento/module-eav/Model/Entity/Attribute/Source/AbstractSource.php on line 76 (reported by @kamal3294) has been fixed in #20001 by @aditisinghcedcoss in 2.3-develop branch Related commits: 1. 0df7243 2. 887902b
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.
Hi @lexcast can you please add missing commits including tests fix from the forward port
@lexcast , I am closing this PR now due to inactivity. |
Hi @lexcast, thank you for your contribution! |
2.3 PR: #21180
Description (*)
Add mexican regions to magento
Fixed Issues (if relevant)
Manual testing scenarios (*)
Contribution checklist (*)