This contribution makes it possible for customers to choose between displaying all prices "Inc. VAT" or "Ex. VAT"
It's a rewritten version of
http://www.oscommerce.com/community/contributions,2899
- Thanks to the author of this!
It now also changes the total price in shopping cart(s).
Forum:
http://forums.oscommerce.com/index.php?showtopic=138790
Legend: 
Download

Report
To add this button:
1. download the button and rename it to .gif
2. Put it in:
/catalog/includes/languages/svenska/images/buttons/
(or swedish or sv-se depending on what you have called your swedish language dir)
3. edit your svenska.php in /catalog/includes/languages to add this text just before the ?>:
// switching vat
define('SWITCHING_VAT_INC', 'för privatpersoner');
define('SWITCHING_VAT_EX', 'för företag');
define('SWITCHING_VAT_DISPLAYED', 'Priserna är:');
define('SWITCHING_VAT_CHANGE_TO_EX', 'Visa pris utan moms');
define('SWITCHING_VAT_CHANGE_TO_INC', 'Visa pris för privatpersoner istället');
And you are done!
No file attached!!!
If you have the bug that in order total, the shipment costs don't change when chnaging the view from incl. VAT/TAX to excl. VAT/TAX than you could try this :
open catalog/includes/modules/order_total/ot_shipping.php
Find :
if (DISPLAY_PRICE_WITH_TAX == 'true') $order->info['shipping_cost'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax);
Change to :
// aanpassing tbv de incl. excl. BTW knop, de transport kosten, bleven kijken naar de instelling in my configuration : show prices incl. TAX.
// bug fix for non changing value of shipment costs regardless of switching the view from incl. to excl. VAT
// if (DISPLAY_PRICE_WITH_TAX == 'true') $order->info['shipping_cost'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax);
global $vat_disp;
if ($vat_disp == '1') $order->info['shipping_cost'] += tep_calculate_tax($order->info['shipping_cost'], $shipping_tax);
Backup before changing any files!!!!
- Added dutch button and text.
- Fixed the missing extension of the .gif files in the code.
Sorry,
there was an error in tax calculation at checkout_confirmation.php.
I had forgot to edit one file, but this is now fixed.
This contribution makes it possible for customers to choose between displaying all prices "Inc. VAT" or "Ex. VAT"
It's a rewritten version of
http://www.oscommerce.com/community/contributions,2899
- Thanks to the author of this!
It now also changes the total price in shopping cart(s).
Forum:
http://forums.oscommerce.com/index.php?showtopic=138790