xpay✦ Commerce
Directory
WooCommerce plugins
WC Provincia Canton Distrito
WC Provincia Canton Distrito
This plugin allows you to populate your custom states, cities, and postcodes for WooCommerce.
5.0
(5 ratings)Will this break my store?
What the WordPress.org registry says about keeping WC Provincia Canton Distrito running.
Tested to 6.7.7 — 4 branches behind 7.1
Several branches behind. Worth checking on a staging site before updating WordPress.19 months ago
At least 1.3 releases a year since launch. WordPress.org only lists versions still available for download, so the real number may be higher.false
Your host must be running at least this version.4.7
woocommerce
These must be installed and active first.1
A single maintainer. Worth knowing if the plugin is load-bearing for your store.Maintenance & trust
Scored on how WC Provincia Canton Distrito is looked after — not on how many stores run it.
55
out of 100Maintenance
15 / 35WordPress compatibility
7 / 20Support responsiveness
Not enough dataMerchant satisfaction
12 / 15Listing transparency
10 / 10Ratings
5.0
5 ratingsManage your custom states, cities, and postcodes by countries from a .json file that it can be moved to your theme using hooks or managed them by the plugin settings.
Available into My account, Shipping calculator form, and the Checkout.
It started working only for Costa Rica but now it is compatible with multi countries.
Check or request a custom PRO add-on here
Features And Options:
- Multicountry compatible.
- Postcode loaded from the selected location.
- Filters and actions are available.
- Also available for admin orders edition
- Shared locations for Ecuador, Guatemala, Peru and Nicaragua are available here.
No configuration required. All locations are automatically loaded to state, city, and postcode fields. However, it has three optional configurations: The first one removes the plugin priority for fields state, city, and postcode and keeps using the WooCommerce priority. The second one hides the postcode on the Checkout page, shipping calculator form, and billing and shipping form pages. And the last one allows you to debug the js plugin file printing the .js instead of .min.js.
The distribution of Country > State > City-District > Postcode is loaded from a .json file located on /assets/js/prov-cant-dist.json.
Yes, it can be overridden from your custom theme directory using the filter wcpcd_prov_cant_dist_json.
Now it is possible, simply override the prov-cant-dist.json file in your custom theme. Then you can add your country (based on WC country code) followed by states, cities-districts and postcodes. Use the filter wcpcd_prov_cant_dist_json and the snippet from this gist
You can check if the file with locations is being loaded to your site, simply go to the section Testing JSON of Locations in the settings page of the plugin. If there are problems loading this file, a message will be shown and with the instructions and the snippet required to load the locations from your custom theme. If the problem persists, send me an email using the Contact me link.
Plugin details
Tags on WordPress.org
