Live Demo: Try all OXID eShop and Shopware plugins by Markus Michalski live β no installation, no risk. demo.markus-michalski.net
The SmartMaps Address Autocomplete plugin integrates the SmartMaps Autocomplete Service into Shopware 6. As customers type an address, real-time suggestions are displayed. After selecting a suggestion, all address fields are automatically filled in - street, house number, zip code, city, country, and state.
Note: This plugin is developed and distributed by Markus Michalski. There is no business affiliation with YellowMap AG (the operator of SmartMaps). YellowMap AG cannot provide support for this plugin. For plugin-related questions, please contact the plugin developer exclusively (see Support section).
Fewer typos, faster checkout: By automatically filling address fields, input errors are reduced and the ordering process is accelerated.
| Feature | Description |
|---|---|
| Real-time autocomplete | Address suggestions while typing in the street field |
| Automatic field population | Street, house number, zip code, city, country, and state |
| Multi-sales-channel | Individual configuration per sales channel |
| Country filter | Restrict suggestions to specific countries (e.g., DE, AT, CH) |
| State detection | Automatic state selection after country change |
| Fault tolerance | Plugin never breaks the page on errors |
| Requirement | Version | Notes |
|---|---|---|
| Shopware | 6.7.x | Older versions are not supported |
| PHP | >= 8.2 | Readonly properties, match expressions |
| SmartMaps API Key | - | Free registration: SmartMaps Registration |
Note: Repository credentials are provided after license purchase. Private repositories are managed via Packeton.
# 1. Add private repository (one-time)
composer config repositories.mmd composer https://packeton.markus-michalski.net
# 2. Install plugin
composer require mmd/smart-maps-integration
# 3. Activate plugin
bin/console plugin:refresh
bin/console plugin:install --activate MmdSmartMapsIntegration
bin/console cache:clear
composer update mmd/smart-maps-integration
bin/console plugin:update MmdSmartMapsIntegration
bin/console cache:clear
For Shopware Store installations: Update directly via Extensions > My Extensions.
Plugin settings are located under Settings > System > Plugins > SmartMaps Address Autocomplete.
| Setting | Type | Default | Description |
|---|---|---|---|
| API Key | Password | - | Your SmartMaps API key. Register for free at auth.smartmaps.app |
| Enabled | Boolean | true |
Enable/disable autocomplete |
| Country Filter | Text | Empty | Comma-separated ISO codes, e.g., DE,AT,CH for DACH region. Empty = all countries |
Tip: Each sales channel can have its own configuration. Select the desired sales channel in the admin header to set individual values.
The plugin works automatically in all standard address forms:
Compatibility: The plugin uses standard Shopware selectors (
input[name$="[street]"], etc.). Custom themes that modify these selectors may require adjustments.
Configuration:
your-api-keyYesDE,AT,CHResult: Only addresses from Germany, Austria, and Switzerland are suggested.
Configuration:
your-api-keyYesResult: Address suggestions from all available countries.
Global Configuration:
your-api-keyYesDESales Channel "Austria Shop":
AT (overrides global)Result: Main shop shows only German addresses, the Austria channel only Austrian ones.
Symptom: No suggestions when typing in the street field.
Check:
cdn.smartmaps.cloud)Solution:
bin/console cache:clearSymptom: Street, zip code, and city are filled, but the state dropdown remains empty.
Check:
Solution:
Symptom: Errors like Access-Control-Allow-Origin in the console.
Check:
Solution:
src/
βββ MmdSmartMapsIntegration.php # Main plugin class
βββ Service/
β βββ SmartMapsConfigServiceInterface.php
β βββ SmartMapsConfigService.php # Config from SystemConfig
βββ Struct/
β βββ SmartMapsConfig.php # Immutable value object
βββ Subscriber/
β βββ StorefrontSubscriber.php # Event listener
βββ Resources/
βββ config/
β βββ config.xml # Admin configuration
β βββ services.xml # DI container
βββ views/storefront/
β βββ base.html.twig # CDN script/CSS
β βββ component/address/
β βββ address-form.html.twig # Form wrapper
βββ app/storefront/src/
βββ main.js # Plugin registry
βββ plugin/smartmaps-autocomplete/
βββ smartmaps-autocomplete.plugin.js
| SmartMaps Property | Shopware Field | Description |
|---|---|---|
street + houseNo |
address[street] |
Street and house number combined |
zip |
address[zipcode] |
Zip code |
city |
address[city] |
City |
country |
address[countryId] |
Country (ISO code to Shopware ID) |
state |
address[countryStateId] |
State (name matching) |
data-smartmaps-apikey attribute on the script tag_-)What is SmartMaps?
SmartMaps is a geocoding and address autocomplete service by YellowMap AG. More info at smartmaps.net.
Is the SmartMaps API key free?
Yes, you can register for free at auth.smartmaps.app/Account/Register. Depending on usage volume, costs may apply - check current pricing at SmartMaps.
Who develops this plugin?
This plugin is developed and distributed by Markus Michalski. There is no business affiliation with YellowMap AG. YellowMap AG does not provide support for this plugin.
Can I use different API keys per sales channel?
Yes. Select the desired sales channel in the admin and enter a separate API key there.
Which country codes can I use in the filter?
Standard ISO 3166-1 Alpha-2 codes, e.g., DE (Germany), AT (Austria), CH (Switzerland), NL (Netherlands), FR (France).
Does the plugin work with custom themes?
Yes, as long as the theme keeps the standard Shopware address form selectors. Heavily customized themes may require adjustments.
Which Shopware versions are supported?
Currently Shopware 6.7.x is supported. Older versions (6.5, 6.6) are not compatible.
License: Proprietary (single-installation license)
Support:
Important: YellowMap AG (the operator of SmartMaps) cannot provide support for this plugin. Please contact the plugin developer exclusively.
For change history, see CHANGELOG.md in the repository.