timpack/magento2-module-fixdutchpostcoderegex 2.1.3-p1

Fix too strict NL postcode in Magento 2.

Type

magento2-module

License

proprietary

Requires
Requires (dev)

None

Suggests

None

Provides

None

Conflicts

None

Replaces

None

Fix Dutch PostCode Regex

This module fixes the Dutch(nl_NL) postcode regex in Magento 2. I created a pull request a long time ago, but it won't get through.

Installation using Composer

composer require timpack/magento2-module-fixdutchpostcoderegex
bin/magento setup:upgrade

Installation manually

  • Download the zip
  • Copy the contents of src/ to app/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