Hyva Checkout Dutch Postcode Format Validator
vendic/hyva-checkout-postcode-nl-format
Validates that Dutch postcodes are entered in the correct format during Hyva checkout using a regular expression, showing an error when the format is wrong.
Build Tests
Code Quality
Tested on Magento 2.4.9
Recent Test History
Each release is tested against the latest Magento version at that time.
Top Contributors
View LeaderboardLooking for Contributors
Composer installation fails. Your contribution could help the entire Magento community!
Share This Module's Status
README
Loaded from GitHubVendic_HyvaCheckoutPostcodeNLFormat
A small Hyva checkout extension that adds validates the Dutch postcode to the correct format using a regular expression.
Note: this extension only validates the format. It doesn't do a lookup to see if the postcode actually exists. For that purpose, use one of these modules:
However, it can be used in combination with the above extensions.
Installation
composer require vendic/hyva-checkout-postcode-nl-format
Usage
Install the extension, go to the Hyvä checkout and try to enter a Dutch postcode in the wrong format while shipping to the Netherlands. You should see an error message that the postcode is in the wrong format (after trying to place the order).
This content is fetched directly from the module's GitHub repository. We are not the authors of this content and take no responsibility for its accuracy, completeness, or any consequences arising from its use.