Example: Products for Specific Regions

In this guide, we will ensure that "Surfboards" are ONLY available to customers in California, United States.

Goal: Restrict sales and visibility of specific local products to users in a defined geographic area.

Step-by-Step Configuration

  1. Create a New Rule

    Go to Settings > Product Visibility > Rules and click Add Rule.

  2. Set General Info

    Title: California Surfboards
    Enabled: Yes

  3. Define What to Hide

    Filter Type: Category
    Filter Value: Surfboards

  4. Choose "Show" (Whitelist)

    We want to Show this only to allowed locations and Hide from everywhere else.

    Visibility Action: Show (Whitelist)

  5. Set the Geo Location Condition

    Condition Type: Country / State
    Operator: IN
    Value: California, United States (US:CA)

    Note: You can select multiple countries or specific states/provinces if available.

  6. Save the Rule

    Click Save Rule.


Result

How does it work? Yeekit Visibility uses WooCommerce's built-in geolocation (based on IP address) to determine the user's location. Ensure Default customer location is set to "Geolocate" in WooCommerce > Settings > General.