Closed divabanana closed 9 years ago
Yes, it's deliberate. This is the common address format for Australia and the USA.
In the next version I can change the address format based on locale using the WooCommerce countries class. Would this solve the issue for you?
No probs. If it's the standard layout for most of your potential customers then that's cool. Don't worry about spending time on coding a fix for specific countries, at least not on my account (I'm sure there are core functions you'd rather spend your time on) - it's easy to sort as it stands. I removed the postcode from the store details and as I'm editing the receipt template anyway, just added it in after the address with a line break, hard coded as it were.
In the receipt.php template {{formatAddress store.address}} returns city and postcode on the same line. Is this deliberate? Other fields of the store address show as expected (one field per line).