Title: print postcode under phone
Last modified: August 20, 2016

---

# print postcode under phone

 *  [YASSEROVIC](https://wordpress.org/support/users/yasserovic/)
 * (@yasserovic)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/print-postcode-under-phone/)
 * Hi,
    I want to add postcode into print page so I try to add this code in “woocommerce-
   delivery-notes.php”
 * code :
 *     ```
       /**
        * Show billing postcode
        */
       if ( !function_exists( 'wcdn_billing_postcode' ) ) {
       	function wcdn_billing_postcode() {
       		global $wcdn;
       		echo $wcdn->print->get_order()->billing_postcode;
       	}
       }
       ```
   
 * and nothing change 🙁 !
 * is there another place to edit ??
 * thanks,
 * [http://wordpress.org/extend/plugins/woocommerce-delivery-notes/](http://wordpress.org/extend/plugins/woocommerce-delivery-notes/)

Viewing 1 replies (of 1 total)

 *  [nyenius](https://wordpress.org/support/users/nyenius/)
 * (@nyenius)
 * [13 years, 4 months ago](https://wordpress.org/support/topic/print-postcode-under-phone/#post-3199010)
 * Try go to /plugins/woocommerce/classes/class-wc-countries.php and edit your country
   localization address format.
 * Or add custom filter like in the faq :
 * > How can I change the address format of the recipient?
   >  WooCommerce includes
   > address formats for many different countries. But maybe your country format
   > isn’t included. For such cases you can define your own format with a filter
   > in your functions.php if you know your country code (ie LI).
   >     ```
   >     function custom_localisation_address_formats($formats) {
   >         $formats['LI'] = "{company}\n{name}\n{address_1}\n{address_2}\n{postcode} {city}\n{country}";
   >         return $formats;
   >     }
   >     add_filter('woocommerce_localisation_address_formats', 'custom_localisation_address_formats');
   >     ```
   > 

Viewing 1 replies (of 1 total)

The topic ‘print postcode under phone’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-delivery-notes/assets/icon-256x256.jpg?rev=2829362)
 * [Print Invoice & Delivery Notes for WooCommerce](https://wordpress.org/plugins/woocommerce-delivery-notes/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-delivery-notes/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-delivery-notes/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-delivery-notes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-delivery-notes/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [nyenius](https://wordpress.org/support/users/nyenius/)
 * Last activity: [13 years, 4 months ago](https://wordpress.org/support/topic/print-postcode-under-phone/#post-3199010)
 * Status: not resolved