Order Printer Template - How To Get Store's Address

Topic summary

A user needed help accessing store address information in Shopify’s Order Printer app to create envelope templates. The deprecated shop.address callback was no longer working, and individual properties like shop.address.address1 and shop.address.city were also failing.

Solution provided:

  • Use {{ shop.address | format_address }} instead of the deprecated methods
  • The format_address filter properly formats the store’s address information
  • Simply calling {{ shop.address }} without the filter returns “AddressDrop”

Outcome:
The issue was resolved. The suggested code worked successfully, allowing the user to proceed with their envelope template that displays store information in the upper left and customer details in the center.

Summarized with AI on October 26. AI used: claude-sonnet-4-5-20250929.

Hello. I’m using the Shopify app, Order Printer, and am wanting to print the customer information and store information directly onto a #10 envelope. I’m struggling with even getting the store address because shop.address no longer exists as a callback. It has been depricated, but I’m unable to find out what I should be using now to get the store’s shipping address.

If anyone has an Order Printer template already created that puts the store’s name and address in the upper left of the envelope, and the customer information in the center, I’d greatly appreciate it. All of the stuff I’m finding is older code back before Shopify changed things around to no longer work.

Cheers!

This code (taken from the default template for, say, Invoice) works pretty well:

{{ shop.address | format_address }}

Yes, if you use simply:

{{ shop.address }}

this will result in “AddressDrop” shown.

See https://shopify.dev/docs/api/liquid/filters/format_address

To add to this, these old methods of calling upon that information appear to no longer work, so I’m just hoping to get the updated function calls.

shop.address.address1
shop.address.city

And so on. :slightly_smiling_face:

Wow, so I swear I tried this and it didn’t work, but it’s working just fine now. So, thank you for patiently helping and not thinking I’m dumb (which I totally am many times, so I accept that label, hah).

Cheers!