Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Invoice tpl translation and custom fields

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-03-2013, 12:43 PM
 
steliosaaa steliosaaa is offline
 

Member
  
Join Date: May 2011
Posts: 28
 

Default Invoice tpl translation and custom fields

Hi all,

I need to modify the invoice template file to include the VAT number and also to translate all fields.

At the moment it shows the translation properly but the fields are still in English and can't find them anywhere in language files.

I will appreciate any help on this.

Kind regards
__________________
Version 4.6.1
Reply With Quote
  #2  
Old 02-04-2013, 02:55 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,054
 

Default Re: Invoice tpl translation and custom fields

If your template for the invoice, mail/html/invoice.tpl hasn't been modified, it should all work without modification.

If the VAT no has been added in admin, in the Tax Management area, it will automatically show on the invoice.
This code should be in the template, which will show it:
{$tax.regnumber}

The template is all language variables, for example:
{$lng.lbl_date}
so you should be able to find them all in Languages - go through the template and see what should be there. Or use Webmaster mode.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 08:07 PM.

   

 
X-Cart forums © 2001-2020