Directory / plugin
Restrictor de Envíos España
v1.0.3 · by patrolman
Block WooCommerce checkout by Spanish province — Canary Islands, Ceuta, Melilla, or mainland-Spain-only — with a custom message.
About this plugin
Restrictor de Envíos España lets you block WooCommerce checkout for selected Spanish provinces or regions, or restrict orders to mainland Spain only — with one click and a message you control.
What it does
- Block checkout for the Canary Islands, Ceuta, Melilla, or any combination of Spanish provinces you choose.
- One-click shortcut to sell to mainland Spain only, automatically excluding the Canary Islands, Ceuta, Melilla and the Balearic Islands.
- Show your own custom message explaining why the order can’t be placed, instead of a generic WooCommerce error.
- Double-checked: the restriction is shown on the page and verified again when the order is placed, so it can’t be bypassed by editing the address after the notice appears.
- Compatible with WooCommerce High-Performance Order Storage (HPOS).
Use cases
- Sell only to mainland Spain, automatically excluding the Canary Islands, Ceuta, Melilla and the Balearic Islands.
- Block orders from the Canary Islands when your carrier or logistics don’t reach them.
- Block orders from Ceuta and Melilla for the same reason.
- Replace a confusing generic checkout error with a clear explanation your customers understand.
- Add a safety net against orders placed from outside your delivery zone, re-checked right before the order is confirmed.
Works with any carrier
Restrictor de Envíos España restricts orders based on the customer’s address during checkout, before any shipping method is chosen — so it works alongside whatever carrier or shipping plugin you already use, including Correos, SEUR, MRW, GLS, Correos Express or Nacex. There’s nothing to configure on the carrier side.