Overview
Excerpt |
---|
From version 3.82+, websites using BPD are able to implement country-based geocoding and multi-currency support. This enables the display of region-specific information (product prices in $USD, for example). |
This guide covers the implementation of the Country Select widget, and provides information on the geolocation service.
Country Select Widget in Theme Layout Top Zone | Modal Window for Country Selection |
---|---|
...
When a user lands on your site, Customer Self Service makes an API call to the geolocation provider - this retrieves the user's IP address and associated location details.
Using With this information, the user's default country can be automatically set by the website, without the user having to do anything. Prices will be displayed in the correct currency, checkout address formats will be relevant, and so forth.
MaxMind GeoIP is a subscription-based service. You'll need an account with this provider in order to utilise geocoding in BPD.
...
- Login to the CMS.
- Navigate to Settings --> Settings.
- Scroll to the Geolocation Settings section.
- Set the Geolocation Provider to MaxMind.
- Enter your credentials:
- Username - your MaxMind username
- Password - your MaxMind password
- Click 'Update' to save changes.
Country Selector
Even though the user's default country is set via the geolocation service, the user is still free to select a different country while on the website. To do this, they simply select a country from the country list displayed by the Country Select widget.
...
- Login to the CMS.
- Navigate to Content --> Theme Layout.
- In the zone Top Bar, add the Country Select widget.
- Load your website in another browser / incognito tab to verify the widget displays as expected. (You can adjust the widget's position by dragging and dropping it within the zone in CMS as required.)
- Click the country name to launch the selector window.
- You should see the list of countries from the CV Language table. Each country name is paired with its flag.
...
Related articles
Filter by label (Content by label) | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|