then the easy solution to this is to comment out the function call for
calculating the shipping cost, and instead, just statically define it as
$order_number = $this->get_order_number();
$order_subtotal = $this->calc_order_subtotal($d);
$order_taxable = $this->calc_order_taxable($d);
$order_tax = $this->calc_order_tax($order_taxable, $d);
// $order_shipping = $this->calc_order_shipping($d);
$order_shipping = $order_subtotal * 0.15);
$order_shipping_tax = $this->calc_order_shipping_tax($d);
to do it correctly, create a DEFINE'd variable in the config.php file called
SHIPPING_PERC then use that everywhere instead of the 0.15. you might want
to use it in a couple places (like checkout functions and order
viewing/printing), so you would only have to update it once.
you'll need to change the order view/print as well, as they will try to
recalc the shipping costs when displaying an existing order, and if you
change the percent later, it'll change old orders as well - not a good
thing.
Checked by AVG -
http://www.avg.com
Version: 8.0.176 / Virus Database: 270.10.0/1863 - Release Date: 12/24/2008
11:49 AM