Step 1: Log into your PrestaShop control panel.
Step 2: Using the top menu bar, hover over the Preferences tab and select the Geolocation option.
Step 3: At the top of the page is an option labeled Geolocation by IP address.
Step 4: Select the Yes radio button to turn on the ability to blacklist countries by IP address.
Step 5: Click on the green Save button in the upper right corner.