Title: Email &#8211; $order-&gt;shipping_postcode
Last modified: December 25, 2016

---

# Email – $order->shipping_postcode

 *  [brewonehelp](https://wordpress.org/support/users/brewonehelp/)
 * (@brewonehelp)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/email-order-shipping_postcode/)
 * Hello,
 * How can I add $order->shipping_postcode to the email template? I want to display
   both the full address
    ($order_data->get_formatted_shipping_address()); etc..)
   and then the postcode again so I can add a static map.
 * <iimg width="600" sssrc=&quothttp://maps.googleapis.com/maps/api/staticmap?autoscale
   =false&size=600×300&maptype=roadmap&format=png&visual_
    refresh=true&markers=
   size:mid%7Ccolor:0xff0000%7Clabel:1%7C**postcode**” alt=”Google Map of ” /i>
    -  This topic was modified 9 years, 6 months ago by [brewonehelp](https://wordpress.org/support/users/brewonehelp/).
    -  This topic was modified 9 years, 6 months ago by [brewonehelp](https://wordpress.org/support/users/brewonehelp/).
    -  This topic was modified 9 years, 6 months ago by [brewonehelp](https://wordpress.org/support/users/brewonehelp/).

Viewing 1 replies (of 1 total)

 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/email-order-shipping_postcode/#post-8589797)
 *     ```
       $postcode = get_post_meta($order_id, '_shipping_postcode', true );
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Email – $order->shipping_postcode’ 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
 * 2 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/email-order-shipping_postcode/#post-8589797)
 * Status: not resolved