Jump to content

Recommended Posts

How do i change the text of the invoices while making my theme?

I cant find anything usefull in the docs.

For example, i want to prefix the phone numbers in the addresses with "tel:" so it will say "tell: 123124124224" on the pdf invoice, i see that the template file has `delivery_address` but i cant see how i cant change where that is being generated.

Share this post

Link to post
Share on other sites


you can customize it that way and format the address by overriding the function generateAddress inside the class AddressFormat

Also this customization will be visible for the addresses displayed anywhere in the shop not only on invoice.

Kind regards, Leo

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More