Geolocation

Description

In this section the options for geolocations can be found, as well as IP address whitelist

QA

Link to the tests

Components description

Geolocation by IP address toggle

In this section a mandatory toggle switch is displayed, by default it is set to "No". Has a help text below: "This option allows you, among other things, to restrict access to your shop for certain countries. See below.".

Save button

At the bottom a button is shown: see Geolocation Save Button CTA.

Options

The name of the section has a tool tip: "The following features are only available if you enable the Geolocation by IP address feature.".

Below there are 3 fields:

Gelocation behavior for restricted countries drop-down

This is a drop-down list, when pressed the options are:

  • Visitors cannot see your catalog. (default option).

  • Visitors can see your catalog, but cannot place an order

Geolocation behavior for other countries drop-down

Visitors cannot see your catalog (default option).

  • All features are available

  • Visitors can see your catalog, but cannot place an order.

Select the countries from which your store is accessible

This is a list of all the countries available, all of them have check marks, and can be selected, as well there is a "Select all" button, which when pressed checks all the countries. By default all of the countries are checked.

At the bottom of the section there is a button:

At the bottom a button is shown: see Geolocation Save Button CTA.

IP address whitelist

The name of the section has a tool tip: "You can add IP addresses that will always be allowed to access your shop (e.g. Google bots' IP).

Below there is a field named: "Whitelisted IP addresses", in the field are all the shop's whitelisted IP's listed, any IP in the list can be edited as a text, or a new one can be added.

At the bottom a button is shown: see Geolocation Save Button CTA.

Behaviors Description

Geolocation Save Button CTA

If the The geolocation database is unavailable then you won't be able to save the geolocation with the message "The geolocation database is unavailable."

If the geolocation database is available a message is shown: "Update successful".

Save options CTA

When pressed, saves the configuration, shows a message: "Update successful"

Business rules

In the IP address whitelist section user can see the IP addresses that are available to access, it's possible to add your own IP address by just typing it and pressing "Save"

Limitations

"Select the countries from which your store is accessible" has a weird behavior. Example :

  1. Select All countries

  2. Uneselect some countries

  3. Select All is still set

Last updated