visit this link1

enter "110001" as zip code and click on "check " button.

you can see : "Shipping Charges : Rs. 30.00"

enter image description here

"shipping charges" is Name of Shipping method we gave in backend.

I want to remove this text "shipping charges :"

<div class="block block-shipping-estimate block-shipping-results">
    <div class="block-title">
    //  echo Mage::helper('webdevlopers_productpageshipping')->getShiptitle(); 
    <div class="block-content">
<?php if ($this->getResult()):?>
            <?php foreach ($this->getResult() as $code => $_rates): ?>
                <dt><?php echo $this->getCarrierName($code) ?></dt>
                    <?php foreach ($_rates as $_rate): ?>
                        <li<?php if ($_rate->getErrorMessage()) echo ' class="error-msg"';?>>
                           <?php if ($_rate->getErrorMessage()): ?>
                                <?php echo $_rate->getErrorMessage() ?>
                           <?php else: ?>
                                <?php echo $_rate->getMethodTitle() ?>
                                <?php $_excl = $this->getShippingPrice($_rate->getPrice(), $this->helper('tax')->displayShippingPriceIncludingTax()); ?>
                                <?php $_incl = $this->getShippingPrice($_rate->getPrice(), true); ?>
                                <?php echo $_excl; ?>
                                <?php if ($this->helper('tax')->displayShippingBothPrices() && $_incl != $_excl): ?>
                                    (<?php echo Mage::helper('webdevlopers_productpageshipping')->__('Incl. Tax'); ?> <?php echo $_incl; ?>)
                                <?php endif; ?>
                           <?php endif ?>
                    <?php endforeach; ?>
            <?php endforeach; ?>
        <?php else: ?>
        <?php //echo $this->getMessagesBlock()->toHtml(); ?>
        <?php echo Mage::helper('webdevlopers_productpageshipping')->getResult(); ?>
<?php endif;?>
  • Did you even try anything? Mar 23, 2016 at 12:33

1 Answer 1


Try to comment this line: <?php echo $_rate->getMethodTitle() ?> in the else block, some line numbers would be good here to point out right place :)


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.