How can I fetch the options or details of the shipping method configured in the admin side?


You can get that just like you get any config value:

Mage::getStoreConfig('PATH GOES HERE');

In you case it will be


Replace '[shipping_method_code]' and '[field_name]' with the appropriate values.

as @nevvermind said in the comments below.
If you have the shiping method model instance you can use:


take a look at how Mage_Shipping_Model_Carrier_Abstract::getConfigData works.

  • For completeness' sake: and Mage_Shipping_Model_Carrier_Abstract::getConfigData/getConfigFlag('[field_name]'). – nevvermind May 7 '14 at 8:56
  • @nevvermind. Right. That would work to. I will add it to the answer. Thanks. – Marius May 7 '14 at 9:01
  • Than you so much, I'm still new to magento so I had a hard time configuring these stuffs. But this already answered my question ^_^ – user6493 May 8 '14 at 2:06

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.