dakkafx Posted January 11, 2021 Share Posted January 11, 2021 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. Link to comment Share on other sites More sharing options...
Prestachamps Posted January 11, 2021 Share Posted January 11, 2021 Hi, 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 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now