Title: attain's Replies | WordPress.org

---

# attain

  [  ](https://wordpress.org/support/users/attain/)

 *   [Profile](https://wordpress.org/support/users/attain/)
 *   [Topics Started](https://wordpress.org/support/users/attain/topics/)
 *   [Replies Created](https://wordpress.org/support/users/attain/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/attain/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/attain/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/attain/engagements/)
 *   [Favorites](https://wordpress.org/support/users/attain/favorites/)

 Search replies:

## Forum Replies Created

Viewing 1 replies (of 1 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WooCommerce] How to create custom shipping regions?](https://wordpress.org/support/topic/how-to-create-custom-shipping-regions/)
 *  [attain](https://wordpress.org/support/users/attain/)
 * (@attain)
 * [5 years, 8 months ago](https://wordpress.org/support/topic/how-to-create-custom-shipping-regions/#post-13320192)
 * 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;
    }

Viewing 1 replies (of 1 total)