Get all active Shipping method magento

External script to check which shipping method is Active in magento.
Below is the code to display all shipping method.

create new file in root of the magento source and add below code in that file

require_once('app/Mage.php'); //Path to Magento
$methods = Mage::getSingleton('shipping/config')->getActiveCarriers();
$shipMethods = array();
foreach ($methods as $shippigCode=>$shippingModel)
$shippingTitle = Mage::getStoreConfig('carriers/'.$shippigCode.'/title');
$shipMethods[$shippigCode] = $shippingTitle;
echo "<pre>";

Tags: Magento1,

Related Posts

generate png image using php
How we add our own codepool ?
Call static block in Magento

No comments

Leave a Reply

Your email address will not be published. Required fields are marked *