Try using:
Code:
// USPS_2014_0907_K5
// ADDITIONAL CUSTOMIZED CONDITIONS CAN GO HERE TO MANAGE $type_rebuilt or $title on $methods
// ************* START MODIFICATION USPS *****************
// if quoted cost is lower than flat rate module cost, mark up the cost to equal flat rate
$quoted_cost = $cost;
$adjusted_cost = ($quoted_cost < MODULE_SHIPPING_FLAT_COST ? MODULE_SHIPPING_FLAT_COST : $quoted_cost);
// switch comment marks to show $hiddenCost: from quote title
//$show_hiddenCost = ' $hiddenCost: ' . $hiddenCost;
$show_hiddenCost = '';
$methods[] = array('id' => $type_rebuilt,
'title' => $title . $show_hiddenCost,
'cost' => $adjusted_cost);
// ************* END MODIFICATION *****************
Bookmarks