A WooCommerce shipping migrator, released publicly
The problem
WooCommerce shipping zones, classes and rates cannot be moved between sites cleanly, because the class references are stored as internal IDs that differ on every installation.
The problem looks trivial until you try it. Copy a shipping configuration from staging to production and the rates arrive attached to whatever shipping class happens to hold that ID on the destination site.
What it does
Exports zones, methods, classes and rates as a portable file, then remaps shipping class term IDs during import so that every rate reattaches to the class it actually belonged to. What was an afternoon of careful manual re-entry per site becomes a two-minute job that does not depend on somebody being careful.
Why it is public
It solves a problem that is not specific to any one client, so there was no reason to keep it. It is released under GPL-2.0 and it is the first piece of my work published openly.
The outcome
A GPL-licensed plugin that transfers a whole shipping configuration between sites, remapping shipping class term IDs on the way in so rates land against the right classes.
