Installation
Follow this step-by-step guide to install the Webkul Magento 2 OpenStreetMap Address AutoComplete module on your store.
The extension ships in two editions:
- Luma / Blank Theme Edition —
Webkul_OpenStreetMapAddressAutoComplete - Hyvä Theme Edition —
Webkul_OpenStreetMapAddressAutoCompleteHyva(requires the Luma edition as a base)
Luma / Blank Theme Installation
Step 1: Download and Extract Module
- Log in to your Webkul Store Account.
- Navigate to My Account → My Purchased Products.
- Locate OpenStreetMap Address AutoComplete for Magento 2 and download the ZIP archive.
- Extract the ZIP archive on your local workstation.
Inside the package, you will find the module source folder:
app/code/Webkul/OpenStreetMapAddressAutoComplete/
├── Block/
├── Controller/
├── Helper/
├── Logger/
├── Model/
├── ViewModel/
├── etc/
├── i18n/
├── view/
├── composer.json
└── registration.php
Step 2: Upload Files to Magento
- Connect to your server via SSH or SFTP.
- Navigate to the Magento root directory (
<magento-root>). - Ensure the destination directory exists:
mkdir -p app/code/Webkul/OpenStreetMapAddressAutoComplete - Copy the extracted module files into
app/code/Webkul/OpenStreetMapAddressAutoComplete/.
Step 3: Run Magento CLI Commands
Execute the following commands in sequence from your Magento root directory as the Magento filesystem owner:
# 1. Enable module and register schema declarations
php bin/magento setup:upgrade
# 2. Compile dependency injection, view models, and interceptors
php bin/magento setup:di:compile
# 3. Deploy frontend and adminhtml static view assets
php bin/magento setup:static-content:deploy -f
# 4. Flush the Magento cache
php bin/magento cache:flush
Production Mode Notice
If running in production mode, ensure static content deployment and compilation are executed during a planned maintenance window to prevent layout asset disruption.
Step 4: Verify Module Status
Check that Magento recognizes and activates the extension:
php bin/magento module:status Webkul_OpenStreetMapAddressAutoComplete
Expected output:
Module is enabled:
Webkul_OpenStreetMapAddressAutoComplete
If the module is listed under disabled modules, enable it manually:
php bin/magento module:enable Webkul_OpenStreetMapAddressAutoComplete
php bin/magento setup:upgrade
php bin/magento cache:flush
Step 5: Multi-Language Translation (Optional)
The module includes standard English UI strings located in: app/code/Webkul/OpenStreetMapAddressAutoComplete/i18n/en_US.csv.
To customize UI messages or translate suggestions into other languages:
- Create a copy of
en_US.csvnamed after your target locale (e.g.,de_DE.csvfor German,fr_FR.csvfor French,es_ES.csvfor Spanish). - Edit the second column of each line with your translated phrases:
"Address autocomplete is disabled.","Die Adress-Autovervollständigung ist deaktiviert." "Address lookup request timed out. Please try again.","Zeitüberschreitung bei der Adresssuche. Bitte versuchen Sie es erneut." - Save the file and flush the Magento cache:
php bin/magento cache:clean translate
Hyvä Theme Edition Installation
Prerequisite
The Luma / Blank Theme Edition (Webkul_OpenStreetMapAddressAutoComplete) must already be installed and enabled before installing the Hyvä compatibility module.
Step 1: Download and Extract Hyvä Module
- Log in to your Webkul Store Account.
- Navigate to My Account → My Purchased Products.
- Locate OpenStreetMap Address AutoComplete for Magento 2 — Hyvä Edition and download the ZIP archive.
- Extract the ZIP archive on your local workstation.
Inside the package, you will find:
app/code/Webkul/OpenStreetMapAddressAutoCompleteHyva/
├── etc/
│ └── module.xml
├── view/
│ └── frontend/
│ ├── layout/
│ ├── tailwind/
│ ├── templates/
│ │ └── autofilladdress.phtml
│ └── web/
│ └── css/
│ └── autocomplete.css
├── composer.json
└── registration.php
Step 2: Upload Files to Magento
- Ensure the destination directory exists:
mkdir -p app/code/Webkul/OpenStreetMapAddressAutoCompleteHyva - Copy the extracted module files into
app/code/Webkul/OpenStreetMapAddressAutoCompleteHyva/.
Step 3: Run Magento CLI Commands
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento setup:static-content:deploy -f
php bin/magento cache:flush
Step 4: Verify Module Status
php bin/magento module:status Webkul_OpenStreetMapAddressAutoCompleteHyva
Expected output:
Module is enabled:
Webkul_OpenStreetMapAddressAutoCompleteHyva
No Extra Configuration Needed
The Hyvä module automatically overrides the Luma template with a Hyvä-compatible inline script. All configuration settings remain in the same location: Stores → Configuration → Webkul → OpenStreetMap Address Autocomplete.
Next Step
Proceed to Activate & Connect to verify administrative access, menu navigation, and ACL configuration.
