I have added custom code in footer.html for email footer. {{var store.getFormattedAddress()|raw}} is being used to display the store address.

If I load the footer template in Marketing >> Email templates, and assign the same in Content >> Configuration >> Transactional emails >> Footer Template, store address is not displayed in footer.

But that is not the case if defaut footer is set in Content >> Configuration >> Transactional emails >> Footer Template.

What could be the reason?

UPDATE I removed custom code from footer and added back default code with {{var store.getFormattedAddress()|raw}} in it. The issue still exists.

1 Answer 1


For Magento above 2.3.x:

{{var store.formatted_address|raw}}

So there is no "get"

Ref: https://github.com/magento/magento2/blob/2.3/app/design/frontend/Magento/luma/Magento_Email/email/footer.html

Migrating templates:


Or just switch to use legacy template in mail template table in database. Just change legacy value to 1 and you can change template to use "get" method.

  • Tried it. Same issue.
    – Sejal Shah
    Commented Sep 16, 2020 at 6:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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