Magento : how to get checkout method name in saveBillingAction at onepage checkout

$opCheckoutMethod = Mage::getSingleton(‘checkout/session’)->getQuote()->getCheckoutMethod();

if($opCheckoutMethod==’guest’)
{
// your code here
}

Advertisements