How we can set Currency by default Billing Address Country. I was trying to implement the same using the solution mentioned in
How to set Currency by default Billing Address Country in Magento 1.9?.
But now I got stuck in the following error.
Fatal error: Uncaught Error: Class 'Mage' not found. Becuase " Mage::app()->getStore()->setCurrentCurrencyCode($mapping[$countryCode]);" not supported in magento 2.
I was trying to do change the currency on cutomer login based on billing addrsss country with the help of observer.
Can anybody help on how we Can set the store currency in Magento 2?