xpay✦ Commerce
Directory
WooCommerce plugins
Portugal States (Distritos) for WooCommerce
Portugal States (Distritos) for WooCommerce
This plugin adds the Portuguese “States”, known as “Distritos”, to WooCommerce and sets the correct address format for Portugal.
5.0
(9 ratings)Will this break my store?
What the WordPress.org registry says about keeping Portugal States (Distritos) for WooCommerce running.
Tested to 7.0.2
Tested against the WordPress branch in use today.4 months ago
At least 3.8 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.7.2
Your host must be running at least this version.5.8
woocommerce
These must be installed and active first.2
Maintenance & trust
Scored on how Portugal States (Distritos) for WooCommerce is looked after — not on how many stores run it.
92
out of 100Maintenance
35 / 35WordPress compatibility
20 / 20Support responsiveness
Not enough dataMerchant satisfaction
12 / 15Listing transparency
6 / 10Ratings
5.0
9 ratingsThis plugin adds the 18 Portuguese “States” (known as “Distritos”) plus the 2 Autonomous Regions (known as “Regiões Autónomas”, Madeira and Açores) to WooCommerce.
Also sets the right name for “Districts” and the correct “Postcode”/“City” order and the correct address format for Portugal.
And… that’s pretty much it.
Banner photo by Nilo Velez.
Features:
- Adds the Portuguese “States”, known as “Distritos”, to WooCommerce
- Sets the correct address format for Portugal, including the correct “Postal Code”/“City” positioning on the checkout
Do your customers still write the full address details manually on the checkout?
Activate the automatic filling of the address details at the checkout, including street name and neighbourhood, based on the postal, avoiding incorrect data at the time of shipping, with our plugin Portuguese Postcodes for WooCommerce
The Portuguese Postcodes plugin can also do a district-postcode cross validation on checkout and guarantee they match.
Are you already issuing automatic invoices on your WooCommerce store?
If not, get to know our new plugin: Invoicing with InvoiceXpress for WooCommerce
Other (premium) plugins
Already know our other WooCommerce (premium) plugins?
- Portuguese Postcodes for WooCommerce – Automatic filling of the address details at the checkout, including street name and neighborhood, based on the postal code
- Invoicing with InvoiceXpress for WooCommerce – Automatically issue invoices directly from the WooCommerce order
- DPD Portugal for WooCommerce – Create shipping and return guide in the DPD webservice directly from the WooCommerce order
- Feed KuantoKusta for WooCommerce – Publish your products on Kuanto Kusta with this easy to use feed generator
- Multibanco, MBWAY, Credit card, Payshop and Cofidis Pay for WooCommerce – PRO add-on – Extra features for the plugin you already trust to receive payments on your WooCommerce store
- Simple Checkout Fields Manager for WooCommerce – Add custom fields and manage (remove, make required or optional) core fields on the new WooCommerce Block-based Checkout
- Simple WooCommerce Order Approval – The hassle-free solution for WooCommerce order approval before payment
- Shop as Client for WooCommerce – Quickly create orders on behalf of your customers
- Taxonomy/Term and Role based Discounts for WooCommerce – Easily create bulk discount rules for products based on any taxonomy terms (built-in or custom)
- DPD / SEUR / Geopost Pickup and Lockers network for WooCommerce – Deliver your WooCommerce orders on the DPD and SEUR Pickup network of Parcelshops and Lockers in 21 European countries
Add this to your (child) theme’s functions.php file:
add_filter( ‘woocommerce_portugal_postcode_class’, function( $class ) {
return array( ‘form-row-wide’ );
});
add_filter( ‘woocommerce_portugal_city_class’, function( $class ) {
return array( ‘form-row-wide’ );
});
Yes.
Yes.
Apple and Google are not requesting the “Distrito” field in Apple Pay addresses, which causes checkout to fail if you set your shipping zones with “Distritos”.
So, if you’re using these methods, we recommend you set your shipping zones with postcode intervals; for example, one zone for Portugal, restricted to postcodes 0000000…8999999, and another for the islands, restricted to 9000000…9999999.
You can keep using this plugin, but the shipping zones should be set with postcodes.
Alternatively, version 7.0 of our “Portuguese Postcodes for WooCommerce” plugin, alongside “WooCommerce Stripe Payment Gateway” version 10.2.0 or above, fixes this.
Or you can use Apple Pay and Google Pay via the ifthenpay gateway with our plugin, which fetches the address from the WooCommerce checkout.
This is a free plugin. It’s our way of giving back to the wonderful WordPress community.
There’s a support tab on the top of this page, where you can ask the community for help. We’ll try to keep an eye on the forums but we cannot promise to answer support tickets.
If you reach us by email or any other direct contact method, we’ll assume you need premium, paid-for support.
You can report any security bugs found in the source code of this plugin through the Patchstack Vulnerability Disclosure Program. The Patchstack team will assist you with verification, CVE assignment and take care of notifying the developers of this plugin.
Categories
Plugin details
Tags on WordPress.org
