Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Restricted products sold to blocked regions: how to find and fix it

OPS-364Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Some goods are restricted in some places. Examples are alcohol, e-cigarettes, certain supplements, cosmetics, knives, batteries, and anything covered by sanctions or export controls. A store has this issue when it lets a shopper buy such a product and ship it to a country (or state) where it is not allowed.

Why it costs you leads or sales

What one blocked-region order can costExample numbers
What one blocked-region order can cost (example)Order revenue kept: 0 $; Outbound shipping lost: 25 $; Return shipping: 25 $; Payment fees not refunded: 3 $; Stock written off: 30 $0122302525330Order revenue keptOutbound shipping lostReturn shippingPayment fees not refu…Stock written off$

Example: a $80 order that is refused at the border. Numbers are illustrative.

How a restricted order slips through
  1. Product pageRestricted item shown to everyone
  2. CartItem added
  3. Checkout countryBlocked country accepted
  4. Payment takenOrder should not exist
  5. ShipmentRefused or returned

The break is the missing country check between the cart and payment.

How to check if your site has it

Test your restrictions by hand
  1. List restricted products and places

    Write down each product or category and the countries or states where it must not ship.

  2. Add the product to the cart

    Use a private browser window so no saved address or login interferes.

  3. Enter a blocked address

    Use a real-format address in the blocked country or state. Try the shipping address and a different billing address.

  4. Watch for a block

    You should see a clear message or no shipping method at all. If you can reach the payment step, the rule is leaking.

  5. Try the side doors

    Test express buttons (Apple Pay, Google Pay, PayPal), draft or manual orders, wholesale pages and marketplace feeds.

  6. Review past orders

    Filter your orders by destination country and look for restricted items shipped to blocked places.

How to fix it

Block restricted products by region
  1. Limit shipping zones

    In WooCommerce go to Settings > Shipping and keep only the zones you may serve. Remove the "Locations not covered by your other zones" shipping methods.

  2. Restrict by product

    Use a shipping class for restricted items and give it a rate only inside allowed zones, or use a country-restriction extension. Also restrict selling countries in Settings > General > Selling location(s).

  3. Add a checkout check

    If you need stricter rules, add a validation snippet (below) or a plugin that blocks the order at checkout.

WooCommerce: block restricted products to certain countries (example)php
add_action( 'woocommerce_after_checkout_validation', function ( $data, $errors ) {
    $blocked_countries  = array( 'XX', 'YY' ); // replace with ISO country codes
    $restricted_product_ids = array( 123, 456 ); // replace with your product IDs

    $country = isset( $data['shipping_country'] ) ? $data['shipping_country'] : $data['billing_country'];
    if ( ! in_array( $country, $blocked_countries, true ) ) {
        return;
    }
    foreach ( WC()->cart->get_cart() as $item ) {
        if ( in_array( $item['product_id'], $restricted_product_ids, true ) ) {
            $errors->add( 'restricted', 'Sorry, one or more items in your cart cannot be shipped to your country.' );
            return;
        }
    }
}, 10, 2 );

How to confirm it's fixed

Confirmation checklist
  • A blocked address cannot reach the payment step for any restricted product
  • The message names the item and the reason in plain words
  • Express checkout buttons also refuse blocked destinations
  • Draft, manual and wholesale orders follow the same rules
  • Mixed carts (restricted plus normal items) are handled as you intend
  • Allowed countries still check out normally

How to prevent it happening again

Prevention habits
  • Keep one written list of restricted products and blocked regions
  • Tag restricted products so they are easy to find and assign to the right shipping profile
  • Re-test blocked addresses whenever you add a market, shipping zone, product or checkout app
  • Review orders by destination country each month
  • Re-read carrier and payment provider rules when they update

How FunnelGuard handles this

Questions people ask

How do I stop selling certain products to certain countries?

Limit shipping so restricted products have no rate for blocked countries. In Shopify use shipping profiles and Markets, and in WooCommerce use shipping zones and classes. Add a server-side check for strict cases.

Why can a customer in a blocked country still check out?

Usually a shipping zone covers all countries, a product is not assigned to a restricted profile, or an express checkout skips your rules. Test with a blocked address in a private window to find which.

Is blocking by IP address enough to restrict products?

No. IP location is easy to get around and can be wrong for travellers. Use the delivery address entered at checkout as the main check, and enforce it before payment.

What happens if I ship a restricted product to a blocked region?

The parcel may be refused or seized, you may lose the goods and shipping costs, and your payment or marketplace account may be reviewed or closed. Some cases carry legal penalties.

How do I find past orders that went to blocked regions?

Export your orders and filter by shipping country, then compare with your restricted product list. Fix the rules first, then decide how to handle any open orders with your carrier or adviser.

Can FunnelGuard tell me if I sell restricted products to blocked regions?

No. FunnelGuard monitors funnel steps, tracking and lead delivery, not product legality by country. A trade-compliance or per-product country-rules tool is a better fit.

Do I need to block billing addresses as well as shipping addresses?

Often yes. Some restrictions and sanctions rules apply to the buyer as well as the destination. Check your rules, and validate both addresses where it applies.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.