Skip to main content

iI have upgrade m2.2.1 to m2.2.5 but address template or customer address are not working

This is not only in order view, but also everywhere that displayed the customer address by the template and calling the \Magento\Customer\Block\Address\Book::getAddressHtml() method. For example, in the Customer Address Book:

a show like this template

{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}} {{/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}} F: {{var fax}}{{/depend}} {{depend vat_id}} VAT: {{var vat_id}}{{/depend}}

Order informtion admin Order informtion admin

Customer informtion admin Customer informtion admin

Customer informtion frontend Customer informtion frontend

i have upgrade m2.2.1 to m2.2.5 but address template or customer address are not working

This is not only in order view, but also everywhere that displayed the customer address by template and calling the \Magento\Customer\Block\Address\Book::getAddressHtml() method. For example, in the Customer Address Book:

show like this template

{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}} {{/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}} F: {{var fax}}{{/depend}} {{depend vat_id}} VAT: {{var vat_id}}{{/depend}}

Order informtion admin Order informtion admin

Customer informtion admin Customer informtion admin

Customer informtion frontend Customer informtion frontend

I have upgrade m2.2.1 to m2.2.5 but address template or customer address are not working

This is not only in order view, but also everywhere that displayed the customer address by the template and calling the \Magento\Customer\Block\Address\Book::getAddressHtml() method. For example, in the Customer Address Book:

a show like this template

{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}} {{/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}} F: {{var fax}}{{/depend}} {{depend vat_id}} VAT: {{var vat_id}}{{/depend}}

Order informtion admin Order informtion admin

Customer informtion admin Customer informtion admin

Customer informtion frontend Customer informtion frontend

Source Link
PG Sutariya
  • 441
  • 4
  • 13

Address Information And Customer address are not showing in magento 2

i have upgrade m2.2.1 to m2.2.5 but address template or customer address are not working

This is not only in order view, but also everywhere that displayed the customer address by template and calling the \Magento\Customer\Block\Address\Book::getAddressHtml() method. For example, in the Customer Address Book:

show like this template

{{depend prefix}}{{var prefix}} {{/depend}}{{var firstname}} {{depend middlename}}{{var middlename}} {{/depend}}{{var lastname}}{{depend suffix}} {{var suffix}}{{/depend}}{{depend firstname}} {{/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}} F: {{var fax}}{{/depend}} {{depend vat_id}} VAT: {{var vat_id}}{{/depend}}

Order informtion admin Order informtion admin

Customer informtion admin Customer informtion admin

Customer informtion frontend Customer informtion frontend