Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing invoice headings!


Guest

Recommended Posts

Hi I'm trying to remove the "Tax, Price (ex), Price (inc), Total (ex)" from the os invoice and also I'm trying to align the "Sub-Total, Shipping, Tax, Total" to the right. I have done an extensive search on the net and a search on this site also. Any help is most appreciated.

 

Thanks

 

V

Link to comment
Share on other sites

I've sorted out removing the headings "Tax, Price (ex), Price (inc), Total (ex)" but I cant remove the actual tax and figures ie "17.5%, ?85.11, ?100.00, ?170.22". Any help with this would be great as I am becoming very stuck!

 

Cheers

 

V

Link to comment
Share on other sites

Please i'm so stuck on this even if someone could put me onto a contribution or past post then I would be grateful.

 

once again thanks

 

V

Link to comment
Share on other sites

Find this in invoice.php

 

 

echo ' </td>' . "\n" .

' <td class="dataTableContent" valign="top">' . $order->products[$i]['model'] . '</td>' . "\n";

echo ' <td class="dataTableContent" align="right" valign="top">' . tep_display_tax_value($order->products[$i]['tax']) . '%</td>' . "\n" .

' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .

' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']), true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .

' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format($order->products[$i]['final_price'] * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n" .

' <td class="dataTableContent" align="right" valign="top"><b>' . $currencies->format(tep_add_tax($order->products[$i]['final_price'], $order->products[$i]['tax']) * $order->products[$i]['qty'], true, $order->info['currency'], $order->info['currency_value']) . '</b></td>' . "\n";

echo ' </tr>' . "\n";

 

 

Deleted the lines starting "echo" as you need - each line is one column in the display

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...