Title: Changing billing postcode label and priority
Last modified: March 2, 2020

---

# Changing billing postcode label and priority

 *  Resolved [svarcko](https://wordpress.org/support/users/svarcko/)
 * (@svarcko)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/changing-billing-postcode-label-and-priority/)
 * Hello there.
    I changed the postcode field to be select and I added custom values
   that I need for the custom local pickup shipping zone. But now I need to change
   the postcode label and I need it to show as last field on the checkout page. 
   I tried with: “woocommerce_default_address_fields” “woocommerce_shipping_fields”“
   woocommerce_billing_fields” and the label and order of the fields is not changing.
 * This is the code i am using:
 *     ```
       add_filter('woocommerce_default_address_fields' , 'customize_postcode_field');
       function customize_postcode_field( $fields ) {
         $fields['postcode']['label'] = 'Testlabel';
         $fields['postcode']['type'] = 'select';
         $fields['postcode']['priority'] = 100;
         $address_count = 10;
         for ($address = 1; $address <= $address_count; $address++) {
           $fields['postcode']['options'][$address] = $address;
         }
         return $fields;
       }
       ```
   
 * Any suggestion on how can i change the label and position of the postcode field?
   
   Thanks in advance and best wishes.
    -  This topic was modified 6 years, 2 months ago by [svarcko](https://wordpress.org/support/users/svarcko/).

Viewing 1 replies (of 1 total)

 *  Thread Starter [svarcko](https://wordpress.org/support/users/svarcko/)
 * (@svarcko)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/changing-billing-postcode-label-and-priority/#post-12503247)
 * Solved. The code works, another plugin was overriding the code changes…

Viewing 1 replies (of 1 total)

The topic ‘Changing billing postcode label and priority’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 1 participant
 * Last reply from: [svarcko](https://wordpress.org/support/users/svarcko/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/changing-billing-postcode-label-and-priority/#post-12503247)
 * Status: resolved