More or less just this section of code:
Code:default: $show_box_weight = ' (' . $shipping_num_boxes . ' x ' . number_format($shipping_weight,2) . TEXT_SHIPPING_WEIGHT . ')'; break; } } // bof: Add extra charge for heavy items in cart $chk_cart = 0; $chk_cart += $_SESSION['cart']->in_cart_check('products_id','10'); $chk_cart += $_SESSION['cart']->in_cart_check('products_id','12'); $chk_cart += $_SESSION['cart']->in_cart_check('products_id','15'); $chk_cart += $_SESSION['cart']->in_cart_check('products_id','3736'); $extra_charge = $chk_cart * .75; echo 'Table Extra charges $chk_cart: ' . $chk_cart . ' $extra_charge: ' . $extra_charge . '<br>'; $this->quotes = array('id' => $this->code, 'module' => MODULE_SHIPPING_TABLE_TEXT_TITLE . $show_box_weight, 'methods' => array(array('id' => $this->code, 'title' => MODULE_SHIPPING_TABLE_TEXT_WAY, 'cost' => $extra_charge + $shipping + (MODULE_SHIPPING_TABLE_HANDLING_METHOD == 'Box' ? MODULE_SHIPPING_TABLE_HANDLING * $shipping_num_boxes : MODULE_SHIPPING_TABLE_HANDLING) ) )); if ($this->tax_class > 0) {


Reply With Quote
