Addresses
As is generally understood, different regions (often countries) display addresses in different formats or orders. Brickwork automatically conforms to the standards for 30+ regions; however, when updating or adding store address information in the bRickwork admin, a consistent naming convention is provided to every field, which may differ from the order in which information is displayed publicly per region.
See below (in the "Updating Admin” section) for a mapping of our fields in the Brickwork Admin to the fields as displayed and used in our regional templates. This is further clarified by the “Templates by Country Code” section.
Together, this should help you to input store address information so that it is correctly displayed in the standard format for the country that store is in.
Updating Admin
In the Brickwork admin you will see address fields with more common labels (for the US region), which we will map to the templates according to the countryCode of the location the store is in (as specified by the "Country" entered in the Store Address). The mapping of fields as you see them in admin to the fields used by the templates is illustrated below.
Address Templates by Country Code
Please see above to see how each code section maps to the corresponding entry field in the Brickwork admin.
AU:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city}}} {{{town}}} {{{state_district}}} {{{village}}} {{{region}}} {{{state_code}}} {{{state}}} {{{postcode}}}
{{{country}}}
BR:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{city}}} {{{town}}} {{{state_district}}} {{{village}}} - {{{state_code}}} {{{state}}}
{{{postcode}}}
{{{country}}}
CA:
{{{attention}}}
{{{house}}}
{{{address1}}} {{{suburb}}}
{{{city}}} {{{town}}} {{{state_district}}} {{{village}}} , {{{state_code}}} {{{state}}} {{{postcode}}}
{{{country}}}
CN:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city_district}}} {{{neighbourhood}}}
{{{county}}}
{{{city}}} {{{town}}} {{{state_district}}} {{{village}}} {{{state_code}}} {{{state}}} {{{postcode}}}
{{{country}}}
CZ:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
DE:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
DK:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
ES:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{state}}} {{{county}}}
{{{country}}}
FR:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{state}}}
{{{country}}}
GB:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{postcode}}}
{{{country}}} {{{state}}}
GR:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
HK:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{state_district}}}
{{{state}}}
HU:
{{{attention}}}
{{{house}}}
{{{city}}} {{{town}}} {{{village}}}
{{{address1}}}
{{{postcode}}}
{{{country}}}
IE:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city_district}}} {{{neighbourhood}}}
{{{city}}} {{{town}}} {{{village}}}
{{{county}}}
{{{postcode}}}
{{{country}}}
IT:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county_code}}} {{{county}}}
{{{country}}}
JP:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city_district}}} {{{neighbourhood}}}
{{{city}}} {{{town}}} {{{village}}} , {{{state}}} {{{state_district}}} {{{postcode}}}
{{{country}}}
KR:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city_district}}} {{{neighbourhood}}} , {{{city}}} {{{town}}} {{{village}}} , {{{state}}} {{{postcode}}}
{{{country}}}
LA:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{state}}}
{{{country}}}
NL:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
NO:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
PL:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
PT:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
RU:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}}
{{{city}}} {{{town}}} {{{village}}}
{{{state}}}
{{{country}}}
{{{postcode}}}
SE:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
TH:
{{{attention}}}
{{{house}}}
{{{village}}}
{{{address1}}}
{{{neighbourhood}}} {{{city}}} {{{town}}} , {{{suburb}}} {{{city_district}}} {{{state_district}}}
{{{state}}} {{{postcode}}}
{{{country}}}
TR:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{postcode}}} {{{city}}} {{{town}}} {{{village}}} {{{county}}} {{{state}}}
{{{country}}}
TW:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{suburb}}} {{{city_district}}} {{{neighbourhood}}}
{{{city}}} {{{town}}} {{{village}}} {{{postcode}}}
{{{country}}}
US:
{{{attention}}}
{{{house}}}
{{{address1}}}
{{{city}}} {{{town}}} {{{state_district}}} {{{village}}} {{{suburb}}} {{{county}}} , {{{state_code}}} {{{state}}} {{{postcode}}}
{{{country}}}
Phone Numbers
We implement a library that takes phone numbers and attempts to:
- auto-correct any that are not properly formatted for their own country or region
- adapt the phone number so that it can be called from another country or region.
There can occasionally be issues with this process. The best way to avoid or minimize them is to make sure each phone number conforms to the national standard for the country the store is in. Please consult this document for a complete description of national standards.