timpack / magento2-module-fixdutchpostcoderegex
Fix too strict NL postcode in Magento 2.
Installs: 303
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
Type:magento2-module
Requires
- php: ~5.6.5|7.0.2|7.0.4|~7.0.6
- magento/framework: 100.0.*|100.1.*
- magento/module-directory: 100.0.*|100.1.*
This package is auto-updated.
Last update: 2024-11-29 05:03:32 UTC
README
This module fixes the Dutch(nl_NL) postcode regex in Magento 2. I created a pull request and it got merged, so this module won't be necessary in Magento 2.2.
Installation using Composer
composer require timpack/magento2-module-fixdutchpostcoderegex
bin/magento setup:upgrade
Installation manually
- Download the zip
- Copy the contents of
src/
toapp/code/Timpack/FixDutchPostCodeRegex/
- Then run
bin/magento setup:upgrade
Running tests
If you didn't install the module using composer, please copy app/code/Timpack/FixDutchPostCodeRegex/phpunit.timpack.xml
to dev/tests/unit/phpunit.timpack.xml
.
Then run the following:
vendor/bin/phpunit -c dev/tests/unit/phpunit.timpack.xml