Mark's Tech Stuff
Programming solutions, source code, solutions to tech problems and other tech related stuff.
Sunday, November 25, 2012
Get Country Name from Magento Checkout/Billing Details
Like so: $checkout = Mage::getSingleton('checkout/session')->getQuote(); $billing_addr = $checkout->getBillingAddress(); $country_name = Mage::getModel('directory/country')->load($billing_addr->getCountryId())->getName(); echo $country_name;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment