How to convert the price from one currency to another in the Magento 2?
By: Avinash Sonune, Aug 3rd, 2018 # Magento 2 # How to # Frontend
In this article, we will be guiding you on how to convert the price from one currency to another in the magento 2. The first thing you need to do is to create an instance of “\Magento\Directory\Model\CurrencyFactory” and “\Magento\Store\Model\StoreManagerInterface” as given below: Then you need to use the function given below to get the price …
Continue reading “How to convert the price from one currency to another in the Magento 2?”