How to use Countries Restriction Mode
The Countries Restriction Mode allows you to sell inventories in specific countries only. The Multi-Inventory add-on will try to check if the user is logged in and has delivery destination saved in their profile and If this fails the add-on will try to geolocate the visitor's country to detect the delivery destination. In the case any of this is not possible, the system will use the default country from ATUM's settings.
If the visitor’s country is not the same as the inventory restriction, the product will show Out of Stock.
ENABLE COUNTRIES RESTRICTION MODE
In WordPress admin panel, go to ATUM Inventory > Settings > Multi-Inventory.
In Region Restriction Mode select Countries.

WARNING: When you enable Region Restriction Mode (Countries or Shipping Zones) ALL the Multi-Inventory products show Out of Stock in your shop until you add a region to the inventories. We recommend setting up regions within your products before you enable the Region Restriction Mode.
- Click Update Settings.
ADD A COUNTRY RESTRICTION TO AN INVENTORY
In WordPress admin panel, go to Products and open-edit the product you want to restrict.
In the Product page, go to the Product data section and select the tab Inventory.
Open the inventory you want to restrict.
Click the blue flag Region icon to edit region.

Select the country or countries from the WooCommerce countries list drop-down and press the Set button.

WARNING: The inventory will only be sold in selected countries only.
To activate the change Update the product.

ADD A DEFAULT COUNTRY WHEN GEOLOCATION FAILS
When the countries restriction mode is enabled, a default country should be selected. ATUM will assign the default country for visitors that WooCommerce was not able to geolocate. To select or change the default country:
In WordPress admin panel, go to ATUM Inventory > Settings > Multi-Inventory.
Select a country in Default Country drop-down.

Click Update Settings.
IMPORTANT TO NOTE
When you add a country restriction to an inventory, only visitors from that same country will see the product In Stock. So will the logged-in users that have this country registered in their account.
Visitors from a different country or the logged-in users with another registered country in their account will see the product Out of Stock.
The stock status/count of shopping baskets (shopping cart) could change upon completing the shipping destination details within checkout! In the case of the previously changed shipping destination with the users' profile or geolocation difference versus the chosen shipping destination, the checkout could fail as the different restriction country may not have the same inventory available.
Example: Customer wants to buy a product that has inventory restricted to Spain. The customer is in Spain and gets geolocated there too and ads the product to cart. Within the checkout page, the customer changes the shipping destination to the United Kingdom. WooCommerce will use the default message telling the customer that the product is not available
Our team is working on a notification message that will pop up to customers in the above case, and inform them about the availability of the basket items within their regions.
