Enhance Sales with WooCommerce Localized Pricing Plugin

Display different WooCommerce products and apply localized pricing based on the visitor’s location.
WooCommerce localized pricing illustration

How does the WooCommerce localized pricing feature work?

WooCommerce localized pricing - plugin UI

If-So allows you to personalize your WooCommerce store with localized pricing and product visibility based on each visitor’s location – no coding required.

The WooCommerce geolocation feature automatically detects a user’s country, region, or city and adjusts the content they see.

Based on the detected location, you can show or hide products, apply localized pricing or currency, and highlight local promotions.

Real-Life Use Cases for WooCommerce Geolocation

WooCommerce localized pricing and products is designed to help you display the most relevant products, pricing, and shipping options based on each visitor’s location.


Here are the most common ways it’s used in online stores:

  • Show or hide products by country/region
    Display specific WooCommerce products only to visitors from selected countries or regions, and hide them from others.

  • WooCommerce Localized pricing and currency adjustments
    Adjust pricing dynamically based on user location. No need for multiple stores or complex tables.

  • Geolocation Shipping Rules
    Show only shipping options and products available in the visitor’s area.

  • Localized Promotions & Content
    Display country-specific discounts, tax info, or legal notes.

Step-by-Step: How to Set Up WooCommerce Localized Pricing and Product Display

  1. Download and activate the If-So Dynamic Content plugin, the If-So Geolocation Extension and the If-So WooCommerce Integration.
  2. Assign a category to all WooCommerce products you want to hide (or show). For example, if you want certain products to appear only in Germany, assign a category like “Germany_only” to those products. Screenshot (WooCommerce Documentation – Assigning Categories).
  3. Set up your location-based rules: on your WordPress dashboard, go to If-So → Settings → Add-ons, then scroll to the WooCommerce Geolocation section. Screenshot
  4. Define the display rules for products in those categories – show or hide them based on the user’s location. Screenshot
  5. Optional: add a redirect URL so that if a user opens a hidden product via a direct link, they are redirected to a page you choose.
    Note: Without a redirect configured, a hidden product can still be accessed via its direct URL.

Screenshots

productcategory 1
Products category
Addons tab 1
If-So → Settings → Add-ons
Category Product 1
show or hide products

FAQs

What is WooCommerce Geolocation and how does it work?

WooCommerce geolocation detects a visitor’s location based on their IP address or browser data. This allows store owners to display location-based content – such as specific products, prices, or shipping options – tailored to each visitor’s region.

Can I show or hide WooCommerce products by country or region?

Yes. Using If-So Dynamic Content, you can show certain WooCommerce products only to visitors from selected countries or regions and hide them from everyone else. This helps you display relevant inventory to the right audience.

Can I change WooCommerce prices based on user geolocation?

Absolutely. You can display different prices or promotions to visitors from specific countries or regions. For example, you might show lower prices in emerging markets or adjust pricing to match local currencies or tax rules.

Does WooCommerce geolocation work with caching or CDNs?

Yes, when configured correctly. Use Ajax or cache variation by Geo/IP so the displayed products and prices match each visitor’s location. Always test the setup while logged out, in incognito mode, and from different countries.

Was this Helpful ?

    We're sorry couldn’t be more helpful ☹️

      Black Friday Sale!
      Up to 40%