From 6fe0b461d013b41ec838e03287336167649e1f6a Mon Sep 17 00:00:00 2001 From: tamarazuk Date: Wed, 26 Feb 2014 15:50:58 -0500 Subject: [PATCH] Add Canadian address format .. as per Canada Post's addressing guidelines: http://www.canadapost.ca/tools/pg/manual/PGaddress-e.asp#1413985 --- includes/class-wc-countries.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-countries.php b/includes/class-wc-countries.php index 81f794d08e1..cd873b22e09 100644 --- a/includes/class-wc-countries.php +++ b/includes/class-wc-countries.php @@ -604,6 +604,7 @@ class WC_Countries { 'AU' => "{name}\n{company}\n{address_1}\n{address_2}\n{city} {state} {postcode}\n{country}", 'AT' => $postcode_before_city, 'BE' => $postcode_before_city, + 'CA' => "{company}\n{name}\n{address_1}\n{address_2}\n{city} {state} {postcode}\n{country}", 'CH' => $postcode_before_city, 'CN' => "{country} {postcode}\n{state}, {city}, {address_2}, {address_1}\n{company}\n{name}", 'CZ' => $postcode_before_city,