Country Based Content

4,99  / month or 44,99  / year save 25%

The all-in-one WooCommerce geolocation plugin: redirections, content visibility, pricing, payment & shipping restrictions, currency conversion — all based on visitor country.

Clear

SKU: N/A Category:

Description

Country Based Content for WooCommerce is the complete geolocation solution for WooCommerce stores. Instead of buying 3-4 separate plugins, get everything you need in one affordable package.

Features

  • Country-based visitor redirections
  • Hide products, prices, or add-to-cart buttons per country
  • Adjust product prices by percentage, fixed amount, or set specific prices
  • Restrict payment methods by country
  • Restrict shipping methods by country
  • Automatic currency conversion with live exchange rates
  • Content shortcode for conditional display anywhere
  • State/Region level targeting for the USA, Canada, and more

Country detection uses WooCommerce’s built-in MaxMind geolocation database. It runs on your own server: no external call, no visitor data sent to a third party, no per-session fees. The one outbound request the plugin can make is the daily exchange rate fetch, and only if you turn currency conversion on.

Why Choose This Plugin?

Most WooCommerce geolocation plugins focus on ONE thing: just pricing, or just restrictions, or just redirections. You end up buying 3-4 plugins that may not work well together.

Get the complete geolocation toolkit for less than the price of a single specialized plugin!

Important: WooCommerce’s geolocation must be enabled for the plugin to work. Go to WooCommerce → Settings → General and ensure “Default customer location” is set to “Geolocate” or “Geolocate (with page caching support)”.

Conveniences

  • Visual rule builder with up and down controls to set rule order
  • Test simulator to preview rules before going live
  • Developer tools for testing specific countries
  • User exemptions by role (let admins see everything)
  • Cache-friendly design with transient storage
  • Full WooCommerce integration
  • Multisite compatible
  • Translation ready (French included)

Feature Overview

Country-Based Redirections Automatically redirect visitors to specific URLs based on their detected country. Perfect for:

  • Directing customers to local stores
  • Complying with regional regulations
  • Creating market-specific landing pages

Content Visibility Rules Control what WooCommerce content is visible to visitors from specific countries:

  • Hide Products — Completely hide products from catalog and search
  • Hide Prices — Remove price display for specific countries
  • Hide Add-to-Cart — Prevent purchases while keeping products visible
  • Alternative Content — Show custom messages like “Not available in your region”

Price Adjustments Modify product prices based on visitor location:

  • Apply percentage increases or decreases
  • Add or subtract fixed amounts
  • Set entirely different prices per country
  • Prices apply at actual checkout (not just display)

Payment & Shipping Restrictions Control checkout options based on visitor country:

  • Show iDEAL only for Netherlands visitors
  • Hide PayPal for specific regions
  • Disable international shipping for certain countries
  • Show local carriers only to local visitors

Currency Conversion Automatically detect and display prices in your visitor’s local currency:

  • Exchange rates fetched daily from the Frankfurter API, which republishes European Central Bank reference rates
  • Support for 30+ currencies worldwide
  • Configurable rate cache (hourly, daily)
  • Manual rate override option
  • Smart rounding rules

Content Shortcode Display conditional content anywhere on your site: [cbc_content countries="FR,BE,CH"] Free shipping to France, Belgium, and Switzerland! [/cbc_content]

[cbc_content countries="US" match="exclude"] International shipping rates apply. [/cbc_content]

Region/State Level Targeting Target specific states or regions within countries: [cbc_content regions="US:CA,US:TX,US:NY"] Special offer for California, Texas, and New York customers! [/cbc_content]

Supports all countries with states/regions in WooCommerce including the USA (50 states), Canada (provinces), Germany (Länder), Australia, and more.

FAQ

How does country detection work?

The plugin uses WooCommerce’s built-in MaxMind GeoLite2 database. Detection happens locally, with no external call and no data sent outside your server, and is GDPR compliant. Currency conversion is the one feature that reaches outside: when it is on, the plugin fetches exchange rates once a day from the Frankfurter API.

How accurate is the geolocation?

Country-level detection is typically 99%+ accurate. State/region detection (Pro) is around 85-95% accurate depending on the country and ISP. Users with VPNs or corporate proxies may be detected in different locations.

Does this affect actual checkout prices?

Yes! Price adjustment rules modify the actual product price, so customers pay the adjusted price at checkout. Currency conversion (Pro) also applies the converted price with optional rounding rules.

Can I restrict payment methods by country?

Yes! With Pro, you can show or hide specific payment methods based on visitor country. For example, show iDEAL only for Netherlands, or hide PayPal for certain regions.

Can I restrict shipping methods by country?

Yes! Pro allows you to control which shipping methods are available based on country. Perfect for offering local carriers or disabling international shipping for specific regions.

Does this work with caching plugins?

Yes! The plugin is designed to work with page caching. For best results, use WooCommerce’s “Geolocate (with page caching support)” option. Rules are evaluated server-side on each request regardless of page cache status.

Can I test rules without affecting real visitors?

Absolutely! Use the “Force Country” option in Developer Tools to simulate visits from any country. You can also use the Test Simulator on each rules page to see which rules would apply.

What happens if a visitor uses a VPN?

The visitor will be detected based on their VPN exit location. This is a limitation of all IP-based geolocation. Consider using the “Exclude logged-in users” option to ensure your registered customers always see accurate information.

How does this compare to other plugins?

Most competitors focus on ONE feature and charge $59-119/year. Country Based Content combines redirections, content rules, pricing, payment/shipping restrictions, currencies, and shortcodes — all for less than a single specialized plugin.

Can I target specific US states?

Yes! The Pro version supports state/region level targeting for the USA, Canada, Australia, Germany, and all other countries with states/regions in WooCommerce. Use formats like “US:CA” for California or “CA:QC” for Quebec.

Free and Pro

Country Based Content is available as a free plugin and as this Pro extension. The free edition is not a demo. It carries country based redirections, hiding prices, hiding the add to cart button, and price adjustments that apply at checkout, with role and bot exemptions and a test simulator.

Pro adds the rest of the toolkit:

  • Hide products completely from the catalog and from search
  • Show alternative content in place of a hidden product
  • Payment and shipping method restrictions by country
  • Currency conversion with daily exchange rates and rounding rules
  • The content shortcode for conditional display anywhere on the site
  • State and region level targeting
  • A tax message displayed by country

Compatibility

  • Requires WordPress 6.0 or higher and PHP 7.4 or higher.
  • Requires WooCommerce 8.0 or higher, tested up to WooCommerce 10.8.
  • Requires WooCommerce geolocation to be enabled, under WooCommerce, Settings, General, Default customer location.

License and activation

After installing the plugin, you will need to enter your license key on the plugin configuration page. This key is provided in your order confirmation email. You can also find it by logging in and visiting the “My Account” page.

Additional information

Number of domains

1