Zen Cart Logo

Tax invoice

Locked

Views: 3,670

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
26 May 2007, 3:30 AM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Tax invoice

Hi,

I would like to include a tax registration and the words TAX INVOICE on the invoice that Zen Cart produces. How and where can I make these text modifications?

The following shows what I have done so far as suggested by Kim's archive post. However, it didn't work. Nothing has changed or showed up when I placed a test order. Any idea what went wrong?

============================
Open admin/ invoice.php

Find this section of code:

Code:

<tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td> </tr>

Change to:

Code:

<tr> <td class="pageHeading"><?php echo nl2br(STORE_NAME_ADDRESS); ?></td> <td class="pageHeading"><?php echo TITLE_INVOICE; ?></td> <td class="pageHeading" align="right"><?php echo zen_image(DIR_WS_IMAGES . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT); ?></td> </tr>

Open admin/includes/languages/english/invoice.php

add:

define('TITLE_INVOICE', 'Tax Invoice');

In Admin>Configuration>My Store>Store Address and Phone
add: TaxID #XXXXXXXXX

26 May 2007, 12:37 PM
#2
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Tax invoice

Hi,

I realised that it did work in the admin, i.e. the TAX INVOICE and ABN text show up. However, does anyone know how show these in the invoice or order confirmation email we send to customers? This is actually more important.

31 Dec 2007, 4:29 AM
#3
crusty avatar

crusty

New Zenner

Join Date:
Dec 2007
Posts:
8
Plugin Contributions:
0

Re: Tax invoice

either that or how to forward the tax invoice you can generate in admin directly to the client? i would like to know also

31 Dec 2007, 4:54 AM
#4
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Tax invoice

Crusty,

I got it working. From memory, you should make changes in these two files:

/includes/languages/english/checkout_process.php
/includes/classes/order.php

Good luck.

31 Dec 2007, 4:54 AM
#5
crusty avatar

crusty

New Zenner

Join Date:
Dec 2007
Posts:
8
Plugin Contributions:
0

Re: Tax invoice

this is what i entered into /includes/languages/english/checkout_process.php

on line 53 so that it appears centered in the email - this is just temporary until somebody can maybe come up with something better

define('EMAIL_DETAILS_FOLLOW','The following are the details of your order. <p align="center"><strong><font face="tahoma,arial,helvetica,sans-serif">Tax Invoice</font></strong></p></font></font></em>');

8 Jan 2008, 8:14 AM
#6
crusty avatar

crusty

New Zenner

Join Date:
Dec 2007
Posts:
8
Plugin Contributions:
0

Re: Tax invoice

I had a good play with it but managed to stuff up the site altogether so i had to restore my bakup versions of the files, don't suppose you could help some fellow aussies out by copying the code you put in? :hug: