Setting Up Country Restrictions for WooCommerce – General Settings

Apply Country-Based Restrictions on All Products

Go to WooCommerce > Country Restrictions > General Settings. From here, you can adjust global settings: 

  • Enable Global visibility: Enable global visibility settings for your store
  • Choose the default catalog visibility for products:
    • Show all products: Display all products to all users
    • Hide all products: Hide all products from all users 
  • Message for unselected countries: Enter a message to show to users from restricted countries
  • Default add-to-cart visibility: Choose from the following options to set as default
    • None
    • Show the add-to-cart  
    • Hide add-to-cart
  • Restrict Add-to-Cart: In case you wish to hide add-to-cart, choose from the following:
  • Hide add-to-cart: Completely hide add-to-cart
  • Replace with a custom button: Add custom text and link
  • Show a message: Display a custom message 
  • Select Price Visibility: Choose to show or hide the price for chosen items. 
  • Add Text When Prices are Restricted: In case you wish to hide price, add custom text to replace prices.

Restrict Payment Methods from Unwanted Regions

Go to WooCommerce > Country Restrictions > Payment Methods. From here, enable country-based restrictions for each method:

  • Direct bank transfer: Select countries to enable/disable payment method (Geo-location must be enabled). 
  • Check payments: Select countries to enable/disable payment method (Geo-location must be enabled). 
  • Cash on delivery: Select countries to enable/disable payment method (Geo-location must be enabled).