Ready This is an app especially developed for Shopware 6
Validate ZIP bei Country

Validate ZIP bei Country

by huebertweb (1) Ratings 12 Downloads
Current version:

Version:

To use the wish list, you must accept the necessary cookies. Accept cookies
Can be used in:
Not available
This extension cannot be used in a Shopware Cloud shop.
Cloud
Self-hosted
This app is available for Shopware 5
Support
This manufacturer responds very quickly to support requests
Details
  • Huebe13490737604
  • huebertweb
  • 1.1.2
  • 20 Sep 2021
  • 6.0.0
    6.1.0 – 6.1.6
    6.2.0 – 6.2.3
    6.3.0.0 – 6.3.0.2
    6.3.1.0 – 6.3.1.1
    6.3.2.0 – 6.3.2.1
    6.3.3.0 – 6.3.3.1
    6.3.4.0 – 6.3.4.1
    6.3.5.0 – 6.3.5.4
    6.4.0.0
    6.4.1.0 – 6.4.1.2
    6.4.2.0 – 6.4.2.1
    6.4.3.0 – 6.4.3.1
    6.4.4.0 – 6.4.4.1
During registration, the format of the postal code is checked against the selection of the... more

Product information

During registration, the format of the postal code is checked against the selection of the country. For Germany the regex for 5 consecutive digits could look like this e.g.: ^[0-9][0-9][0-9][0-9][0-9][0-9][0-9]$Additionally for the error message you can define an example postcode. For Sweden which requires 3 digits a space and 2 digits again e.g. for Stockholm 111 21 the regex could look like this: \d{3} \d{2} 
If the postal code does not correspond to the specified format (Regex), an error message with an example postal code will be issued. 
This has the advantage that e.g. with the DHL label the correct postal code is used if a user mistypes or enters something strange.


How a Regex is structured:

https://medium.com/factory-mind/regex-tutorial-a-simple-cheatsheet-by-examples-649dc1c3f285

Examples for different countries: http://pattern.tfcpc.de/pattern-beispiele-plz.php

from DHL

https://www.dhl.de/content/dam/dhlde/downloads/express/dhl-express-formate-postleitzahlen-062014.pdf Translated with www.DeepL.com/Translator

Read, write and discuss reviews... more

Customer reviews

Average customer rating from 1 reviews:

Total
Functionality
Usability
Documentation
Support

Super für korrekte PLZ Übergabe an DHL

17 Mar 2021

Seit der Benutzung des Plugins hatte ich bei DHL keine Probleme mit der PLZ mehr. Ein echter Mehrwert und Zeitersparnis für mich. Super Support!

Total
Functionality
Usability
Documentation
Support

Installation manual

In the backend you can then select in the settings -> shop -> countries

the regex and an example postcode can be defined for the individual countries. 



Regex Templates

Germany: ^[0-9][0-9][0-9][0-9][0-9]$

Australia, Austria, Belgium, Hungary: ^\d{4}$ 

Sweden: \d{3} \d{2}

Spain: ((0\d|[1-4]\d|5[0-2]))\d{3}

Canada: [ABCEGHJKLMNPRSTVXYZ]\d[A-Z] \d[A-Z]\d

USA: (\d{5})|(\d{5}(-\d{4})^\d{5}$

Changelog

Version 1.1.2

Optimisation: Own area in the country settings

Version 1.1.1

Extension: Postcode validation for guest account and in the customer account management

Version 1.1.0

Compatibility: Compatible with Shopware 6.4

Version 1.0.2

Customisation: Shopware 6.3 compatible

Version 1.0.1

Customisation: Shopware 5.3 compatible

Version 1.0.0

Publication in the Shopware Store

About the manufacturer

huebertweb huebertweb Shopware Business Partner Shopware Business Partner 31 Extensions 5 Ø Rating
Current version:

Version:

To use the wish list, you must accept the necessary cookies. Accept cookies

Recently viewed

Shopware Logo
Your opinion matters to us!

Honest feedback is valuable and our basis for improvement. That's why we're asking you to take part in our latest survey on Shopware as a brand. It will probably take you less than 5 minutes.