I have the same issue. I managed to add custom zones in the list. But the custom zones seem not to work because if i use them to set a shipping zone, that zone will never be found, the Customer matched zone “Locations not covered by your other zones is showing.
Is there anything else to be done for customised zones to work? Bellow is my hook.
add_filter( ‘woocommerce_states’, ‘custom_woocommerce_states’ );
function custom_woocommerce_states( $states ) {
$states[‘ZW’] = array(
‘ZW1’ => ‘Harare’,
‘ZW2’ => ‘Avondale’,
‘ZW3’ => ‘Gweru’,
‘ZW4’ => ‘Kwekwe’,
‘ZW5’ => ‘Vic Falls’
);
return $states;
}