1. Home
  2. Docs
  3. Country Based Restrictions for WooCommerce
  4. Restrictions settings

Restrictions settings

General Settings

Debug Mode

  • Debug Mode -This will make selected to show detect the customer account shipping country and country drop-down toolbar in header in front-end.
  • And, If you want to change country. then, you can change the country from the added drop-down on the top of the header in front-end.

Detect Geo-location Country

  • Detect Geo-location Country – This will make selected to detect Geo-location the country and ignore the customer account shipping country.
  • And, If you want to change Geo-location country. then, you can change the country from the added drop-down on the top of the header in front-end.
blank

Visibility Settings

The visibility options will determine the visibility of the restricted product on your store:

Hide completely

Checking this option will completely hide restricted products and product variations from your store (including a direct link)

  • Redirect to shop page instead of the 404 Page
blank

Hide catalog visibility

Checking this option will hide restricted products and product variations from your shop and search results, however, these products will still be accessible and purchasable via direct link.

  • Make non-purchasable – checking this option will make products you set with country restrictions non-purchasable (i.e. product can’t be added to the cart)
  • Hide Product Variations 
  • Restriction Message – This message will show on the product page when it’s non-purchasable. (i.e Sorry, this product is not available in your country.)
  • Message Positionchoose the position of the restriction message on the product page. you can choose Custom Shortcode – [cbr_message] in custom product template file, in the short description or with page builders such as Elevator or UX Builder.
blank

Catalog visible

Checking this option will display your products and product variations on the shop but not purchasable.

  • Hide Product Variations – hide the restricted product variations form the product variation options on the product page
  • Restriction Message – This message will show on the product page (i.e Sorry, this product is not available in your country.)
  • Message Positionchoose the position of the restriction message on the product page. you can choose Custom Shortcode – [cbr_message] in custom product template file, in the short description or with page builders such as Elevator or UX Builder.
blank
Was this article helpful to you? Yes No

How can we help?