v0.3.11
-
Area now sits truly right-after-Country, even when a theme remaps Country's priority. On artcase.ge a live
WC_Checkout::get_checkout_fields('billing')dump showed:billing_first_namepriority 10 (was 20 by default — Woodmart / Personal-ID plugin remapped it)billing_city(Area) priority 11 (our v0.3.10 value)billing_countrypriority 40 (was 10 by default — also remapped)
My hard-coded
priority = 11put Area between first_name (10) and last_name (20) — visually "right after first name", not what the merchant wanted. Fix: read whatever priority Country ended up at AFTER all other filters have run (we still hookwoocommerce_checkout_fieldsat priority 100000, and the WC 10.7 source confirmsuasort()runs AFTER our filter) and set Area tocountry.priority + 1. State (hidden, auto-filled) getscountry.priority + 2. Now Area renders immediately under Country regardless of what other plugins decided Country's priority should be. -
Shipping-zone "Add region" no longer hides 10 of the 13 Georgian regions. v0.3.2's Tbilisi-mode override trimmed
woocommerce_states['GE']to only the merchant's allowed area codes — which also applied to WP-admin → WC → Settings → Shipping → Add region. Removed the filter; the GE state catalog stays intact globally. The state field at checkout is still hidden via CSS + auto-filled, which is all Tbilisi mode actually needs.