I am writing a new payment module which involves getting the next (possible) order number.
If I use some php code to customise the output in the language file it all works fine.
The other way would be to hack a lot of other files to achieve the same result.
1. How bad is the downside to using php code in the language files?
2. Using custom functions to calculate and display info in other places, such as customer order info. Is it ok to put these into the class file and call them externally or should I use "another" file for these functions elsewhere?
I am trying to keep it compact to 2 new files, and 2 edited files if possible.
vs editing and adding code in a lot more places!
Bookmarks