fix · 3577fbbimprovedA debug shortcut opened the API
With WP_DEBUG on, the REST API accepted a fallback nonce. I removed it: provinces and municipalities are public read-only and postal codes require administrator permission.
Woodofy is a WooCommerce plugin that teaches a store how Cuba works: provinces, municipalities, zones and weight-based shipping. Three live stores share it. I have maintained, hardened and extended it since July 2026.
Livetubandeja.com ↗ · cocomarketshop.com ↗ · engimovcaribe.com ↗



A WooCommerce plugin with Cuban addresses, zones and shipping, plus a family of extensions
The core has existed since 2025, created by the team; I joined in July 2026
Location-based shipping, checkout fields, security, translation, packaging and extensions
An out-of-the-box store asks for a country, a state and a postal code. In Cuba the customer picks a province and municipality, shipping depends on weight and zone, and each store ships from a different place.
You could solve it with patches on each site. With three stores that means three copies to fix every time. The answer was a single plugin that knows it all, plus small extensions for whatever each store needs on top.
Province, municipality and postal code in the order the customer uses, at checkout and in My Account.
Rates by weight and by zone, with each province assigned to its zone.
Each store ships from one place. The plugin compares the delivery province with the store's.
A fix in the core has to reach all three stores without touching each one by hand.
Five pieces of the plugin, in the order a customer meets them. Scroll down and see them one by one.
At checkout, when Cuba is selected, the municipality list is filtered by province. The postal code fills in by itself and is read-only. In My Account and in orders the municipality name is shown, not its code.
In the WooCommerce admin, each shipping zone lists the provinces it covers. A REST API exposes provinces and municipalities as public read-only, and leaves the postal code to administrators only.
A calculator takes the total weight, the configured threshold and the location's base cost. If the rate doubles per band, each weight threshold doubles the cost.
The plugin resolves the store's province and checks that the delivery province fits. If it doesn't, it warns at checkout instead of charging for an impossible shipment. Woodofy LM adds the location selector to the catalog.
The core is installed on all three stores. Woodofy LM filters the catalog by location, Woodofy Polylang, which today runs only on the demo store, shares one inventory across languages and Woodofy Stats shows sales analytics.
field order: country, province, municipality, postal code
plugin REST routes, simplified names
illustrative example: 1.3 kg threshold, no real prices
Six cases from my history in these repositories. Each card carries the commit that fixed it.
fix · 3577fbbimprovedWith WP_DEBUG on, the REST API accepted a fallback nonce. I removed it: provinces and municipalities are public read-only and postal codes require administrator permission.
fix · 9906cc8improvedTwo error_log calls dumped the checkout fields, including personal data, into debug.log. I removed them.
fix · 9906cc8improvedIt was loaded from src/, which the distribution zip doesn't include. It now lives in assets/ and the packaging copies it.
fix · fc45b88improvedThe saved address showed no municipality and orders displayed a code. It is now injected into the formatted address and resolved to its Spanish name.
fix · cb4b0a4improved.woocommerce-checkout is also the body class, so the notice appeared above the header. It now targets only the form.
revert · 491361b1client'sOn one of the stores, the audit fixes reached the client's own plugins. I reverted them: those plugins are now read-only and the changes are kept as a patch.
Where a visit goes
The plugin is fixed in its repository, packaged with the version bumped automatically, and installed on each store. All three get the same code.
debug.logFigures taken from the code and git history of the repositories. I don't include store sales figures because they are not my result. A fourth site, also running Woodofy, is still in "coming soon" mode and isn't shown here.
Tell me what you need. I reply within 24 hours and, if it is a fit, you get a fixed written proposal.