How can I get the options of a custom shipping method. I couldn't really find anything useful. Only that:
$shippingmethods = Mage::getSingleton('shipping/config');
foreach($shippingmethods as $code =>$carrier) {
if ($code == 'my_shipping_metho')
//do something1
}
But $shippingmethods
is always empty and therefore I never enter the foreach
.
and that:
$shippingMethods = Mage::getSingleton('shipping/config')->getActiveCarriers();
$shippingMethods['my_shipping_method'];
But here I don't have any useful data. Just ID and store.
So, I have a shipping method, which has options for certain kilograms. And I want to get the minimum weight of that method. I know the code
of the method.