Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Diplaying order total excluding VAT


boyler1

Recommended Posts

Posted

Hi,

 

I am looking to display my total on my invoice to exclude VAT. I changed my code so that the subtotal would diplay the total excluding VAT and that works fine. But when the total calculates the sub-total and shipping together it calculates the wrong price..(it adds the VAT onto the subtotal even though it shows on the invoice as excluding VAT)

 

$this->output[] = array('title' => $this->title . ':',
                             'text' => $currencies->format($order->info['subtotal']-$order->info['tax'], true, $order->info['currency'], $order->info['currency_value']),
                             'value' => $order->info['subtotal']);

 

Above shows the new sub-total module i added to exclude the VAT.

 

Has anyone any ideas on how to calculate the TOTAL (shipping + Sub-total ex VAT)

 

help would be great

 

thanks

donal

Posted

by default the oscommerce application setup without any VAT/TAX, simply disable the TAX module in Order Total Modules.

Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here!

8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself.

Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues.

Any issues with oscommerce, I am here to help you.

Archived

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

×
×
  • Create New...