Commit 0d24bdb 1 parent aa6d148 commit 0d24bdb Copy full SHA for 0d24bdb
File tree 3 files changed +20
-0
lines changed
3 files changed +20
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:framework:Module/etc/module.xsd" >
3
+ <module name =" ID_Zipcodes" setup_version =" 1.0.0" >
4
+ </module >
5
+ </config >
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Directory:etc/zip_codes.xsd" >
3
+ <zip countryCode =" GR" >
4
+ <codes >
5
+ <code id =" pattern_1" active =" true" example =" 123 45" >^[0-9]{3}\s[0-9]{2}$</code >
6
+ <code id =" pattern_2" active =" true" example =" 12345" >^[0-9]{5}$</code >
7
+ </codes >
8
+ </zip >
9
+ </config >
Original file line number Diff line number Diff line change
1
+ <?php
2
+ \Magento \Framework \Component \ComponentRegistrar::register (
3
+ \Magento \Framework \Component \ComponentRegistrar::MODULE ,
4
+ 'ID_Zipcodes ' ,
5
+ __DIR__
6
+ );
You can’t perform that action at this time.
0 commit comments