I am writing a custom shipping rates module, and I can’t seem to figure out how to get the estimate shipping Country ID.
I know how to get the Country id once the order has been created, but not for the estimate shipping portion of the checkout process
Any input is greatly appreciated!
For Magento 1.9 I used this
Mage::getSingleton('checkout/session')->getQuote()->getShippingAddress()->getData('country_id')
Or
Mage::getSingleton('checkout/session')->getQuote()->getBillingAddress()->getData('country_id');