vendic / hyva-checkout-postcode-nl-format
Adds a validation to the Hyvä checkout for the Dutch postcode format. Validates if the format is 1234AB
Installs: 827
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Open Issues: 0
Type:magento2-module
Requires
- php: ~8.1.0|~8.2.0|~8.3.0
- hyva-themes/magento2-hyva-checkout: ^1.1
This package is auto-updated.
Last update: 2024-12-07 12:44:04 UTC
README
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).