Auto Currency Switcher 2: Magento 2 Extension [FREE]

Auto Currency Switcher 2 is a currency switcher extension for Magento 2 which automatically switches store currency based on visitor’s IP address. Auto Currency Switcher 2 extension tracks visitor’s IP address and automatically changes the store currency to the visitor’s location currency. Visitor can switch to his/her desired currency at any time. This extension uses … Read more

Magento 2: Get Currency Code, Currency Symbol & Currency Rate

This article shows how we can get our store’s currency code, currency symbol, and currency rate in Magento 2. We will be fetching all base, default and current currency code. We will also be fetching available currency codes and allowed currency codes. Using Dependency Injection (DI) Below is a block class of my custom module … Read more

Magento: Get currency code & currency rate

Here are the code snippets to get base currency code, default currency code, current currency code, all allowed currency code and current currency rate in Magento. Base currency is the currency that is used for online transaction from your store. Default currency is the currency used to display pricing in your store. Current currency is … Read more

Auto Currency Switcher: Magento Extension [FREE]

Auto Currency Switcher is a currency switcher extension which automatically switches store currency based on visitor’s IP address. This module is compatible with Magento version 1.3 and later (Magento 1.3, 1.4, 1.5, 1.6, 1.7, 1.8, 1.9). Auto Currency Switcher extension tracks visitor’s IP address and automatically changes the store currency to the visitor’s location currency. … Read more

Magento: Convert Price from Current Currency to Base Currency and vice-versa

Here is a quick code to convert price amount from current currency of the shop to base currency. This is applicable when you have a multiple currency shop. From the code below, you can convert any currency you desire. You just need the ‘From Currency Code’ and ‘To Currency Code’. In the example below, I … Read more

Magento: PayPal Website Payments Standard not displayed

Problem: PayPal payment method is not displayed in payment method section of onepage checkout in Magento. I am using “PayPal Website Payments Standard“. I have enabled this module from backend. System -> Configuration -> SALES -> Payment Methods -> PayPal Website Payments Standard. Cause: The possible cause is because base currency of your shop is … Read more

Magento: How to change Currency symbol by Model Override ?

In my previous article, I had written about how you can change the currency symbol by making some change in the Zend (lib/Zend/Locale/Data/en.xml) file. It’s easy way but the main drawback of this method is that all your changes will vanish once you upgrade Magento. A better way will be overriding Magento model classes that … Read more

Magento: How to change Currency symbol ?

I had to change the currency symbol of Nepalese Rupee (from Nrs to Rs). By default, the currency symbol for Nepalese Rupee is Nrs. For this, you need to edit lib/Zend/Locale/Data/en.xml Well, the xml file to edit depends upon your locale settings. My locale is set to English (United States). So, I will have to … Read more

Magento: Authorize.net not displayed in Payment Information section while Checkout

Scenario: I have enabled Authorize.net payment method but it is not displayed in Payment Information section while Checkout. Problem: In the class Mage_Paygate_Model_Authorizenet, you will find the following variable:- protected $_allowCurrencyCode = array('USD'); It means, the allowed currency for Authorize.net is only US Dollar (USD). You have to add the currency code to the above … Read more