timpack/magento2-module-fixdutchpostcoderegex

Fix too strict NL postcode in Magento 2.

2.1.3-p1 2017-03-01 22:41 UTC

This package is auto-updated.

Last update: 2024-04-29 03:44:17 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/ 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