Plugin Directory

Taxa Fixa por Distrito/País/Região para WooCommerce

Taxa Fixa por Distrito/País/Região para WooCommerce


If you need a simple way to specify a delivery flat rate, based on the state and/or country and/or world region of the delivery address, on WooCommerce for WordPress, this plugin is for you!

A simple example of this plugin usage is to set a value for delivery in a specific state (e.g. Lisbon), the rest of your own country (e.g. Portugal), a different value for your continent (e.g. Europe) and a fallback one for the rest of the world.

You can create groups for states, countries and world regions and specify delivery rates for them.

For each group you can choose either to apply the shipping fee for the whole order or multiply it per each item. You can also set a total order value from which the shipping will be free.


  • Create any number of states groups/rules and set a specific delivery rate for each group;
  • Create any number of countries groups/rules and set a specific delivery rate for each group;
  • Create any number of world regions groups/rules and set a specific delivery rate for each group;
  • Specify a fallback “Rest of the World” rate for any destinations not specified on the groups;
  • For each group/rule, apply the shipping fee for the whole order or multiply it per each item;
  • For each group/rule, set total order value from which the shipping is free;
  • For each group/rule, set shipping classes for which the shipping is free;
  • For each group/rule, set shipping classes for which the shipping is not available (this may be useful for disabling shipping of certain products to certain destinations, if this plugin is the only one being used for shipping cost calculations);
  • WPML Compatible;
  • PHP7 tested and compatible;
  • Compatibilidade com o Armazenamento de encomendas de alto desempenho (HPOS);
  • WooCommerce Blocks-based Cart and Checkout compatible;
  • Not to be used with WooCommerce 2.6+ Shipping Zones (but an alternative to it);

Outros plugins (premium)

Já conhece os nossos outros plugins WooCommerce (premium)?


  • Use the included automatic install feature on your WordPress admin panel and search for “Flat Rate per Country/Region for WooCommerce”;
  • Go to WooCommerce > Settings > Shipping > Flat Rate per State/Country/Region and enable this shipping method;
  • Set up the rate for the “Rest of the World”
  • Define how many world region, country and/or state different rules you’ll need and “Save changes”
  • You’ll now be able to set up the rates settings for each regions/country/state rule independently (don’t forget to “Save changes” again when you’re done)

Perguntas frequentes

Is this shipping method compatible with WooCommerce 2.6+ Shipping Zones?

Not with the Shiping Zones, no, but it’s compatible with WooCommerce 2.6+.
This plugin was designed pre WooCommerce 2.6 in part to solve the problem that the new Shipping Zones have now solved. It makes no sense to make it work with the new Shipping Zones, but you can still use this shipping method as an alternative if you want to.
The plugin will still be mantained, but with little to no updates from now on.

[WPML] How can I translate the Shipping Method title?

After setting everything up you should go to WPML > String Translation and translate the titles there.

Because of the way the WooCommerce Multilingual plugin registers the Shipping Method titles (assuming each methos can only have one title) and because our plugin changes title depending on the State/Country of destination, the strings that must be translated are the ones inside the “woocommerce_flatrate_percountry” domain and not the ones on the “woocommerce” domain.

Este plugin é compatível com o novo armazenamento de encomendas de alto desempenho do WooCommerce?


Este plugin já é compatível com o Carrinho e Finalização de Compras do WooCommerce baseados em blocos?


Necessito ajuda, posso obter suporte técnico?

Este é um plugin gratuito. É a nossa maneira de dar de volta à fantástica comunidade WordPress.

Existe uma aba de suporte no topo desta página, onde pode pedir ajuda à comunidade. Tentamos estar atentos aos fóruns, mas não podemos prometer responder a pedidos de suporte.

Se nos contactar por email ou qualquer outra forma directa, vamos assumir que necessita de suporte urgente, premium, e claro, pago.

Onde reporto vulnerabilidades de segurança encontradas neste plugin?

Pode reportar bugs de segurança encontrados no código fonte deste plugin através do Patchstack Vulnerability Disclosure Program. A equipa do Patchstack irá ajudar com a verificação, atribuição de CVE e tratará de nos notificar.


13 Dezembro, 2016
This plugin works great! An excellent option to avoid being nickel-and-dimed by WooCommerce. I sell a very limited number of specialty products ~ just a little side business and mostly for fun. At the same time, my shipping can be complex. I’ve looked for a long tome for something that’s easy to set up, meets my complex shipping needs, and is affordable ~ unbelievable that this plugin is free!
5 Dezembro, 2016
Excellent plugin from webdados. When building the shop for Garra Peças Auto, spare parts for cars ([ Link removed ] peças automóveis) it was difficult without this free amazing plugin. Using together with another plugin of webdados Portugal States (Distritos) for WooCommerce it was very easy. [ Moderator note: plugin link changed to wp.org repository ] Thank You for this wonderful plugin.
Ler todas as 35 avaliações

Contribuidores e programadores

“Taxa Fixa por Distrito/País/Região para WooCommerce” é software de código aberto. As seguintes pessoas contribuíram para este plugin:


“Taxa Fixa por Distrito/País/Região para WooCommerce” foi traduzido para 1 locale. Obrigado aos tradutores pelas suas contribuições.

Traduza o “Taxa Fixa por Distrito/País/Região para WooCommerce” para o seu idioma.

Interessado no desenvolvimento?

Consulte o código, consulte o repositório SVN, ou subscreva o registo de alterações por RSS.

Registo de alterações

2.9 – 2023-12-12

  • Declare WooCommerce block-based Cart and Checkout compatibility
  • Requires WordPress 5.4
  • Tested with WordPress 6.5-alpha-57159 and WooCommerce 8.4.0-rc.1

2.8 – 2023-05-25

  • High-Performance Order Storage compatible (in beta and only on WooCommerce 7.1 and above)
  • Tested with WordPress 6.3-alpha-55693 and WooCommerce 7.8-beta.1

2.7.0 – 2022-06-29

  • New brand: PT Woo Plugins 🥳
  • Requires WordPress 5.0 and PHP 7.0
  • Tested with WordPress 6.1-alpha-53556 and WooCommerce 6.7.0-beta.2

2.6.0 – 2021-03-10

  • Legacy shipping method warning on the settings page
  • Tested with WordPress 5.8-alpha-50516 and WooCommerce 5.1.0


  • Remove the ´Remove “(Free)”´ option because WooCommerce stopped adding “Free” to the shipping label on version 2.6.0
  • Fix PHP notice on WooCommerce 4.4.0 and above when used together with WPML
  • Tested with WordPress 5.6-alpha-49109 and WooCommerce 4.6.0-rc.1


  • Technical support clarification
  • Tested with WordPress 5.5-alpha-47761 and WooCommerce 4.1.0


  • Fix EU VAT Countries
  • Tested with WordPress 5.3.3 and WooCommerce 4.0.0


  • Changes on the InvoiceXpress banner
  • Tested with WordPress 5.3.3-alpha-46995 and WooCommerce 3.9.0-rc.2


  • Hide the InvoiceXpress nag if the invoicing is already installed and active
  • Tested with WordPress 5.3.1-alpha-46798 and WooCommerce 3.8.1


  • Change InvoiceXpress nag interval from 30 to 90 days
  • Tested with WordPress 5.2.4-alpha-46074 and WooCommerce 3.8.0-beta.1
  • Requires PHP 5.6

  • readme.txt small fix


  • Tested with WooCommerce 3.5.2
  • Bumped WC tested up tag
  • Bumped Requires at least tag


  • Bumped WC tested up to tag


  • Fix: In some server configurations (suhosin), some settings were not being saved (for WPML users: you will have to recheck your rule names translations)
  • Bumped WC tested up to tag
  • Bumped Requires at least tag


  • It’s now possible to exclude some shipping classes from group/rule (this may be useful for disabling shipping of certain products to certain destinations, if this plugin is the only one being used for shipping cost calculations)
  • Small fix on WooCommerce 3.3 and above
  • Bumped WC tested up to tag

  • Tested with WooCommerce 3.3
  • Bumped Tested up to tag


  • Removed the translation files from the plugin lang folder (the translations are now managed on WordPress.org’s GlotPress tool and will be automatically downloaded from there)
  • Tested with WooCommerce 3.2
  • Added WC tested up to tag on the plugin main file
  • Bumped Tested up to tag

  • Fix fatal error when WC()->countries is still not defined on WooCommerce 3.1.0
  • Bumped Tested up to tag

  • Fixing WordPress.org plugin page because the repo was Cuckoo on the 2.4.8 update


  • Fixed a bug where, in some situations with WPML active, the shipping method label wouldn’t show up


  • Tested with WooCommerce 3.0.0-rc.2
  • Bumped Tested up to tag
  • Small Spanish translation fix

  • Bumped Tested up to tag

  • Version number fix


  • It’s now possible to disable this shipping method for the “Rest of the World”
  • Bumped “Requires at least” and “Tested up to” versions
  • Updated FAQ regarding WooCommerce 2.6+ Shipping Zones

  • Fix: Some PHP notices were suppressed
  • Spanish translation (Gracias Rafa Gallego)

  • Version number fix


  • Dutch translation (Thanks to Arman Nassiri)


  • Bug fix: Quick fix to avoid fatal error when used with Polylang. No support for Polylang at this moment.


  • WordPress 4.4, WooCommerce 2.4.12 and PHP 7 compatibility check – All good!
  • Bug fix: A warning was generated when the ‘State or Country or Region name or “Rest of the World”‘ option for title was chosen on the configurations page, a region rule exists and that region was chosen by the client on the website frontend.


  • Bug fix: The countries list on the configuration screen was not hidden by default
  • Bumped required WordPress version to match the same requirements WooCommerce has (4.1)


  • WPML: Reminder to translate the strings after saving the settings
  • Right sidebar on the settings page with technical support links


  • Better installation instructions
  • Added WPML instructions to the FAQ
  • Bug fix: Taxes were always being added to the cost regardless of the settings
  • Bug fix: All shipping method labels were being override when WPML is active and not only this plugin ones
  • Fix: PHP notice when creating new State rules on the settings page


  • WPML “now the correct way” integration so that the Shipping Method title can be translated
  • WooCommerce Product Bundles integration (Thanks to Mathias Philippe https://wordpress.org/support/profile/mphilippe)
  • European Union countries now fetched from WooCommerce
  • New special region: European Union + Monaco and Isle of Man (EU VAT)
  • Added the list of countries not assigned to any region – For information propouses only
  • When setting Shipping Classes for free shipping it’s now possible to set either all items on the cart must belong to the classes or if only one is enough to set the fee as free
  • Fix: incorrect States rules counter when trying to calculate the rate on the frontend
  • Quick Fix: wp_error testing when getting WooCommerce Shipping Classes on Multisite (we still can’t get the terms, but the error is now supressed)
  • Fix: “get_translated_term” internal function was missing and getting WooCommerce Shipping Classes on a WPML install was throwing a fatal error
  • Several minor code syntax tweaks


  • WPML compatibility (beta)
  • Fix: Some PHP notices were suppressed


  • Fix: Great Britain was declared on the European Union group as UK and not GB


  • It’s now possible to set a free shipping fee (for the all order), if there’s at least one item that belongs to a specific shipping class. This is set per rule.
  • Fix: Free shipping fee for “rest of the world” order above some amount was not working


  • WordPress Multisite support


  • You can now set a name per each rule and then choose to show that field as the title on the checkout


  • The wrong files were uploaded on 2.0. This is the correct version. Please upgrade.


  • It’s now also possible to set rates for states
  • Apply rate “Per order” / “Per item” setting is now individual for each group
  • Possibility to set a total order value from which the shipping fee is free, also individual for each group
  • New special “European Union” region group
  • Some tweaks on the settings screen for improved usability
  • Fix: changed the textdomain argument to string instead of variable


  • Fix: In some server configurations the single countries field was not being saved to the database


  • Fix: Minor localization issues solved


  • It’s now possible to remove the “(Free)” text from the shipping label if the rate is 0. This can be useful if you need to get a quote for the shipping cost from the carrier. (Thanks Saad Sohail)
  • (Temporary) plugin icon for the plugin installer
  • Fix: the setlocale() function now uses only LC_COLLATE instead of LC_ALL in order to get the countries array sorted correctly in all languages. LC_ALL would cause interference with WPML. (Thanks Mihai Grigori from OnTheGoSystems)


  • Fix: Free shipping was not possible because stupid php considers “0” as empty. (Thanks Simone Mastrogiacomo)


  • It’s now possible to choose either to apply the shipping fee for the whole order or multiply it per each item.
  • There’s new options regardin the title the costumer will see suring checkout.


  • It’s now possible to choose either to show the region or country name when a region or “rest of the world” rate is used.
  • Fix: make sure the price fields now respect the localized settings.
  • Fix: when changing countries on the checkout page the plugin does not stall the ajax call anymore and the totals are updated.


  • Initial release.