Country Detection Widget

The Country Detection widget will display the detected shipping country to your customers and will allow them to change their shipping country while browsing your store. You can use the widget in product and shop pages sidebar widget area, or to use a shortcode to display the widget anywhere on your store.

Customize the Country Detection widget

The widget LightBox popup will open when your customers click on the country in the widget, you can customize the widget content and display using a customizer with a live preview.

Customizer options

  • Header text
  • Message – Text before Country selection dropdown
  • Footer Content – Text After Country selection dropdown

Design Options:

  • Width
  • Padding
  • Alignment
  • Overlay Background Color
  • Overlay Opacity
  • Background Color
  • Border Color
  • Border Radius

Add the Widget to products and categories

On your WordPress admin navigate to Appearance > Widgets. then find the Country Detection widget and add the widget to the product and shop sidebar widget areas (or to any other widget area).

Country detection widget options:

  • Title – this is the label text before the country.
  • Show icon – display the map icon
  • Add Border
blank

Country detection shortcode

You can use the [cbr_select_countries_widget] shortcode to display the country detection widget to your customers anywhere on your store.

Shortcode parameters (optional):

  • Title – this is the label text before the country.
  • Show icon – display the map icon

Example: [cbr_location_widget label=”Shipping to ” icon=”show”]

Shortcode in the theme header:

blank