Hello, I'm facing a big problem because here in the country i live in the invoice needs to have some additional info like : Vat number, Chamber of commerce registration number, the bank used by the company, the bank account number. I've tried using a MacGyver style solution by renaming fields like telephone and postal code to vat number and commerce reg number but i cant display them in the order summary or the invoice using tokens because they have no tokens set for them, also using additional fields in checkout module doesn't work for this because they have no token functionality yet and i have no idea how to extract info from the mysql database. The only option i can see right now is to replicate what they did in the VAT number module and edit them to suite my needs but i don't know how to do that either because i cant identify what does what in that code so if someone could explain to me briefly the code used to 1: add a new text field in the checkout section 2: create the new token used to display the info in the invoice. Thank you and please help me with this issue as i develop more and learn about this software i'l be able to help others in the near future. Thank you
I've attached the VAT number module for people to interpret the code and help me, i hope this is not illegal.
| Preview | Attachment | Size |
|---|---|---|
| uc_vat_number.tar.gz | 8.66 KB |
