You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds autocompletion for addresses to the checkout page. [Multiple countries](https://www.postcode.nl/services/adresdata/internationaal) are supported using official postal data via the [Postcode.eu](https://postcode.eu) API.
6
6
7
7
This module is maintained by [Postcode.nl](https://postcode.nl) since version 3.0.0. Earlier versions were developed by [Flekto](https://www.flekto.nl).
8
8
9
-
# Postcode.eu account
9
+
##Postcode.eu account
10
10
11
11
A [Postcode.eu account](https://www.postcode.nl/en/services/adresdata/producten-overzicht) is required.
12
12
Testing is free. After testing you can choose to purchase a subscription.
Get a Dutch address by postcode and house number. In this example asking the user to select from valid house number additions:
45
45
@@ -55,41 +55,26 @@ Other output options are:
55
55
* Disable address fields until postcode and house number combination is valid.
56
56
* No change; address fields remain visible and editable.
57
57
58
-
# Compatibility
58
+
##Compatibility
59
59
60
60
Although we can't guarantee compatibility with other checkout modules, our module works well with most one-step-checkout modules. If you are having issues and think this may be caused by our module, please [contact Postcode.nl]([email protected]) and tell us which other module(s) and version(s) are used.
61
61
62
62
If you found the solution already and have some code to contribute, feel free to open a pull request in this repository.
63
63
64
-
## OneStepCheckout.com configuration instructions
65
-
66
-
1. Go to Stores -> Configuration -> Sales -> Postcode.eu Address API
67
-
1. 'Change address fields position' to 'no'
68
-
2. Go to Stores -> Configuration -> Sales -> OneStepCheckout
69
-
1. The following fields need to be enabled for the billing **and** shipping fields:
70
-
1. street.0
71
-
2. postcode
72
-
3. city
73
-
4. region
74
-
2. Add the following fields to the billing **and** shipping fields:
75
-
1. address_autofill_nl.postcode
76
-
2. address_autofill_nl.house_number
77
-
3. address_autofill_nl.house_number_select
78
-
4. address_autofill_intl
79
-
5. address_autofill_formatted_output
80
-
3. Optional: you may need to apply some custom CSS to display the fields correctly. You may set the region field to hidden.
64
+
## Address API documentation
81
65
66
+
You can find our API documentation at https://developer.postcode.eu/documentation.
82
67
83
-
#Address API documentation
68
+
## Module Wiki
84
69
85
-
You can find our API documentation at https://developer.postcode.eu/documentation.
70
+
Instructions for additional configuration and customization can be found on the [wiki pages](https://github.com/postcode-nl/PostcodeNl_Api_Magento2/wiki).
86
71
87
-
# FAQ and Knowledge Base
72
+
##FAQ and Knowledge Base
88
73
89
74
* View Frequently Asked Questions at https://www.postcode.eu/#faq.
90
75
* For more questions and answers, see https://kb.postcode.nl/help
91
76
* If the above didn't answer your question, [contact us](https://www.postcode.eu/contact).
92
77
93
-
# License
78
+
##License
94
79
95
80
The code is available under the Simplified BSD License, see the included LICENSE file.
Copy file name to clipboardExpand all lines: composer.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "postcode-nl/api-magento2-module",
3
-
"version": "3.2.0",
3
+
"version": "3.3.0",
4
4
"description": "Postcode.eu International Address API module for Magento 2. Adds autocompletion for addresses in multiple countries using official postal data.",
Copy file name to clipboardExpand all lines: i18n/en_US.csv
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,4 +46,6 @@
46
46
"An error has occurred while retrieving address data. Please contact us if the problem persists.","An error has occurred while retrieving address data. Please contact us if the problem persists."
47
47
"Please select a house number.","Please select a house number."
48
48
"Enter an address","Enter an address"
49
-
"Please select an address from metropolitan France.","Please select an address from metropolitan France."
49
+
"PO box shipping","PO box shipping"
50
+
"Allow shipping to PO boxes.","Allow shipping to PO boxes."
51
+
"Sorry, we cannot ship to a PO Box address.","Sorry, we cannot ship to a PO Box address."
Copy file name to clipboardExpand all lines: i18n/nl_BE.csv
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,4 +46,6 @@
46
46
"An error has occurred while retrieving address data. Please contact us if the problem persists.","Er is een fout opgetreden bij het ophalen van adres gegevens. Neem contact met ons op als het probleem blijft optreden."
47
47
"Please select a house number.","Selecteer alstublieft een huisnummer."
48
48
"Enter an address","Vul een adres in"
49
-
"Please select an address from metropolitan France.","Selecteer een adres uit Europees Frankrijk."
49
+
"PO box shipping","Postbus verzending"
50
+
"Allow shipping to PO boxes.","Verzenden naar postbussen toestaan."
51
+
"Sorry, we cannot ship to a PO Box address.","Sorry, we versturen niet naar een postbus adres."
Copy file name to clipboardExpand all lines: i18n/nl_NL.csv
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -46,4 +46,6 @@
46
46
"An error has occurred while retrieving address data. Please contact us if the problem persists.","Er is een fout opgetreden bij het ophalen van adres gegevens. Neem contact met ons op als het probleem blijft optreden."
47
47
"Please select a house number.","Selecteer alstublieft een huisnummer."
48
48
"Enter an address","Vul een adres in"
49
-
"Please select an address from metropolitan France.","Selecteer een adres uit Europees Frankrijk."
49
+
"PO box shipping","Postbus verzending"
50
+
"Allow shipping to PO boxes.","Verzenden naar postbussen toestaan."
51
+
"Sorry, we cannot ship to a PO Box address.","Sorry, we versturen niet naar een postbus adres."
0 commit comments