Kevin D Posted March 18, 2021 Share Posted March 18, 2021 I want to make changes to the generated invoice, to make it localised for Australian GST Is there a list of Smarty Tags that are used by CubeCart? The main changes that needs to be done is the words "Tax Invoice" needs to be in the header, and VAT registration number should be ABN number. Thanks in advance. Link to comment Share on other sites More sharing options...
bsmither Posted March 18, 2021 Share Posted March 18, 2021 Generally, CubeCart gives the entire language pack to Smarty. So, if you look in the file /language/definitions.xml, you will see a series of <groups>, and within each group, a series of <strings>. To have Smarty show a certain phrase, the Smarty variable would be: {$LANG.group.key} For examples: {$LANG.settings.tax_vat_number} = VAT Registration Number {$LANG.settings.tax_number} = VAT Registration Number {$LANG.basket.total_tax} = Total Tax I did not find the phrase "Tax Invoice". To change 'tax_number', in admin, Languages, click on the language you want to change. On the next page, select Settings from the drop-down selector. When the list of phrases appears, scroll to 'tax_number' and click on the key words. This enables the text entry field for editing. Changed phrases are saved to the database. Link to comment Share on other sites More sharing options...
Kevin D Posted March 20, 2021 Author Share Posted March 20, 2021 Thank you for your reply. I appreciate your help. I will try to make the changes Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.