I tried to override the core template file which located in


like this:




<?xml version="1.0"?>
<layout version="0.1.0">
    <reference name="checkout.onepage.shipping_method.available">
          <action method="setTemplate">


<h1> Success Override </h1>

the problem is, it still shows the old phtml file content instead of the new one

  • are you sure you are using base/default theme and not rwd or custom?
    – Piyush
    Commented Oct 18, 2017 at 4:45
  • @Piyush yes because when i changed the app/design/frontend/base/default/template/checkout/onepage/shipping_method/available.phtml , it changed the content Commented Oct 18, 2017 at 4:50
  • as I can see in core files the block checkout.onepage.shipping_method.available is not added under checkout_multishipping_overview you may need to change your handle to checkout_onepage_index or if you have to add this block instead of override
    – Piyush
    Commented Oct 18, 2017 at 5:01
  • @Piyush still not working, see my updated question Commented Oct 18, 2017 at 6:03
  • 1
    Shouldn't you just add a folder under your template and add a file there? Like: app/design/frontend/ThemeName/ThemeDefault/template/checkout/onepage/shipping_method/available.phtml
    – fja3omega
    Commented Oct 18, 2017 at 6:36

1 Answer 1


In your module's XML file add dependency

For example

in your app/etc/modules/Test_ShippingCost.xml file would be look like

<?xml version="1.0"?>
            <Mage_Checkout /><!--Add this depend module and that will your layout after checkout.xml-->

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.