ZIP Code before City
-
Hi,
I’d like to change the sequence of the address fields ZIP code and City.
Now the City is printed first and then the ZIP code.
I’d like to have first the ZIP code and then the City, both on one line.In the FAQ I found the answer of the following question:
How can I change the address format of the recipient?
But where exactly do I have add this code?
The country code for my website is DE.Many thanks for your help.
Cheers,
Sergefunction 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');
https://www.ads-software.com/extend/plugins/woocommerce-delivery-notes/
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ZIP Code before City’ is closed to new replies.