php - Get billing information in order review section of one page checkout in Magento -
i trying display billing , shipping information in "order review" section of 1 page checkout in magento 1.7.0.
however, doesn't want co-operate @ all. tried several methods mentioned in various forums , in well. none of these methods seem work.
here ones have tried.
http://www.magentocommerce.com/boards/viewthread/55281/
http://www.magentocommerce.com/boards/viewthread/55281/
any appreciated! in advance.
mage::getsingleton('checkout/session')->getquote() ->getshippingaddress() ->getdata(); mage::getsingleton('checkout/session')->getquote() ->getbillingaddress() ->getdata();
will give arrays billing , shipping information current order. depending on context, may have call
mage::getsingleton('checkout/session')->getquote() ->collecttotals();
for order taxes, subtotals, etc correct.
Comments
Post a Comment