3

I would like to change the position of "country" with "zip code"?
Everything else is correct.

You can see the Value:

Zürich, 8605

and

Schweiz

Those need to be changed, but where can I do this?

enter image description here

  • add a screenshot :) – Luca Jan 19 '15 at 12:32
6

If you check the admin:

System > Configuration > Customer Configuration > Address Templates

You'll see various options (Text, HTML, PDF).

You can change the formatting/order of the PDF addresses at the 'PDF' option:

{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}|
{{depend company}}{{var company}}|{{/depend}}
{{if street1}}{{var street1}}
{{/if}}
{{depend street2}}{{var street2}}|{{/depend}}
{{depend street3}}{{var street3}}|{{/depend}}
{{depend street4}}{{var street4}}|{{/depend}}
{{if city}}{{var city}},|{{/if}}
{{if region}}{{var region}}, {{/if}}{{if postcode}}{{var postcode}}{{/if}}|
{{var country}}|
{{depend telephone}}T: {{var telephone}}{{/depend}}|
{{depend fax}}<br/>F: {{var fax}}{{/depend}}|
{{depend vat_id}}<br/>VAT: {{var vat_id}}{{/depend}}|

You can move {{var country}} to the desired location.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.