i'm a newbie.... When i go in backend to orders, i like to ship it and add a tracking number, so in the list there are carriers i don't need. just hide them how can i do that?

enter image description here

  • means you dont want shipping method step ? Aug 26 '16 at 11:55
  • did you founds solution ? Sep 8 '16 at 5:48
  • in which file i can hide DHL, Fedex...
    – pipo
    Sep 12 '16 at 20:16
  • means you dont want any shipping method step to display under checkout, you want only one shipping method as default ? Sep 13 '16 at 5:08
  • when i add tracking number, i would like to have just my default carrier. no dropdown menu. where can i deactivate them
    – pipo
    Sep 13 '16 at 13:01

Each carrier model must implement the interface Mage_Shipping_Model_Carrier_Interface.
This interface contains 2 methods.

One of them is called isTrackingAvailable and if this returns true, the carrier will appear in the list of carriers.

All you have to do is rewrite the carrier models you don't need (like Mage_Usa_Model_Shipping_Carrier_Fedex for example) and make the method isTrackingAvailable return false.

  • ok thanks, i'm right in this path? /app/code/core/Mage/Usa/Model/Shipping/Carrier/fedex.php. i can't finde istrackingavailable.... sorry :-)
    – pipo
    Sep 15 '16 at 12:51
  • The method is in the parent class.
    – Marius
    Sep 15 '16 at 12:54
  • I do not know what you mean. Can you help me please step by step what i have to do. you have already wroten it, but i don't understand it
    – pipo
    Sep 15 '16 at 13:13
  • Here is a tutorial on how to rewrite a model inchoo.net/magento/…. You need to rewrite the model Mage_Usa_Model_Shipping_Carrier_Fedex and add in your new class the method isTrackingAvailable that just returns false.
    – Marius
    Sep 15 '16 at 13:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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