How to alter address format to suit European standards in WooCommerce shipments

WooCommerce PDF Invoice, Packing Slip, Delivery Notes and Shipping Label plugin allows you to print and download various types of shipments. By default, the plugin prints address in US standard format which is in the order City, State, Zip in all the shipments. There can be instances where you prefer to print the addresses in EU standards which is in the order Zip, City, State. In that case, the default behavior of the plugin can be modified by inserting the below-given code snippet in the active theme’s functions.php file.

Likewise, if you wish to display only the Zip, City in the address, then insert the following code snippet in the active theme’s function.php file.

  • Was this article helpful ?
  • YesNo

Leave a Reply

Your email address will not be published. Required fields are marked *