Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

JeanLuc

Archived
  • Posts

    98
  • Joined

  • Last visited

Profile Information

  • Real Name
    JeanLuc
  • Location
    France

JeanLuc's Achievements

  1. Have look to Default Selected Shipping Method Regards
  2. Have look to Default Selected Shipping Method Regards
  3. Nothing with the contribution but the line 401 in your file is eval("$address = "$fmt";"); It must be: eval("\$address = \"$fmt\";");
  4. This module doesn't have any effects on VAT calculation. It's just make the VAT number of the store and those of the customers available for the invoice, packingslip etc. So I think your vat calculation pb doesn't come from this module. However, if you want that the prices including or not the VAT according the VAT number, you can find the updates there: http://www.oscommerce.com/forums/index.php?showtopic=76315 You will have to make changes in 2 files: catalog/includes/classes/order.php for the products prices and catalog/includes/modules/order_total/ot_shipping.php for shipping costs. Regards
  5. For not having VAT on shipping cost if the conditions about VAT intracom are OK: in catalog/includes/modules/order_total/ot_shipping.php, find these two lines (about 52): $shipping_tax = tep_get_tax_rate($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); $shipping_tax_description = tep_get_tax_description($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); and replace them by: // BOF for TVA_intracom_v3.4 if ($order->billing['company'] != '' && $order->billing['tva_intracom'] != '' && $order->billing['country']['id'] != STORE_COUNTRY && $order->delivery['country']['id'] != STORE_COUNTRY) { $shipping_tax = 0; $shipping_tax_description = NO_TAX; } else { // EOF for TVA_intracom_v3.4 $shipping_tax = tep_get_tax_rate($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); $shipping_tax_description = tep_get_tax_description($GLOBALS[$module]->tax_class, $order->delivery['country']['id'], $order->delivery['zone_id']); // BOF for TVA_intracom_v3.4 } // EOF for TVA_intracom_v3.4 Just be carefull and check if it's OK but I think it is: it's just put the VAT on shipping as '0'.
×
×
  • Create New...