Magento – Hide shipping method name and title from frontend

checkoutmagento-1.7shipping

In front end on checkout page in shipment section shipping methods and name appears in bracket along with shipping and handling.

Now it looks like
Shipping & Handling (title – method name): 5$

I want look like
Shipping & Handling: 5$

Kindly help..

Best Answer

You can override the method: Mage_Sales_Model_Quote_Address_Total_Shipping::fetch(). Inside it, there is this piece of code:

$title = Mage::helper('sales')->__('Shipping & Handling');
if ($address->getShippingDescription()) {
    $title .= ' (' . $address->getShippingDescription() . ')';
}

You can comment out the if statement and not show the shipping description.

Related Topic