0) $sum = $sum + $module['handling']; if ($taxVal>0) $shippingTax = ($taxVal / 100) * $sum; $out[0]['value'] = $sum; $out[0]['desc'] = priceFormat($sum, true); $out[0]['method'] = $moduleName; $out[0]['taxId'] = $module['tax']; $out[0]['taxAmount'] = $shippingTax; return $out; } return false; } $shipArray[] = By_Precent(); ?>