Questions tagged [currency]

Denotes questions relating to currency, currency symbols, & currency conversion

21
votes
2answers
14k views

Magento 2: get the current currency code

In Magento 1, you could retrieve the current currency code by doing: Mage::app()->getStore()->getCurrentCurrencyCode() I'm wondering what is the recommended way of doing it in Magento 2. In my ...
14
votes
4answers
3k views

GeoIp-based default currency selection behind Varnish

I want a store to intelligently choose a default currency based on the customer's IP using GeoIP when they first visit (with no preselected currency cookie). The store is behind Varnish using Nexcess'...
12
votes
3answers
13k views

Currency Rate not importing correctly from Webservicex

For the past few days it seems Magento's default currency rate updater has not been working. As you can see, after I click import, most of the currency rates show 1:1 which is obviously not right. ...
10
votes
2answers
1k views

How to get product's price in all allowed currencies?

I have a setup with two store views. The first store view has base and the only one currency set to USD. The second one has 2 allowed currencies - USD and EUR. EUR is the default displayed one, USD ...
9
votes
1answer
659 views

Override locale configuration file to customize price format

To reliably change the price format(group and decimal symbol) without having to override several classes or write plugins for them, I need to override the en.xml from the Zend library. Changing the ...
9
votes
1answer
658 views

How do I correctly configure Magento to support 2 currencies

Currently I have one website/storeview that uses Danish Krones as currency. Now I would like to expand with a new website that uses Euro as currency. This causes some problems as I am trying to ...
8
votes
5answers
12k views

How to change currency format in Magento 2?

Currently the price shows like $2.999,00 I want the price to show like $2,999.00 for locale es_MX (spanish, Mexico) in product pages, anywhere else the currency format is correct. I've tried all ...
7
votes
1answer
782 views

How to add Grand Total in base currency to the PDF invoice?

We are running a 1.9.0.1 install and need to display the grand total base currency value on invoices that have been generated using other currencies than base. Even better if all the values on the PDF ...
7
votes
1answer
623 views

How to change currency in magento soap api

I am using Magento 1.8.1 and SOAP API 2. I couldn't find a way to change the currency for the API. How can I do this ? Or is this not possible with Magento ? And if this is not possible, is there a ...
6
votes
4answers
22k views

Is it possible to have different price and currency per product and per store view?

I have setup multi-site in Magento. I have one Website with two Stores and one storeView per Store. StoreA is in GBP, StoreB is in Euros. I have productA which I would like to sell for £99.99 from ...
6
votes
2answers
3k views

How to change currency on checkout with paypal

I am using AED as my base currency and PayPal is not Supporting AED. i want to convert it in to US Dolor while checkout with PayPal.
5
votes
4answers
10k views

How To Change Base currency for a multi store site

How can I change the Base currency for a multi store site, currently I have a site with two store different currencies, and different payment gateway that requires the base currency to be set to this ...
5
votes
5answers
4k views

Free currency converter fixer.io stopped working

Magento ver. 2.2.3 Seems today fixer.io stopped working. It was the only service that still works for currency rates. If I try to reach the url from web browser I get this 0 "######################...
5
votes
1answer
3k views

magento 1.8.0.0: System -> Manage Currency -> Symbols: Page Not Found!

I've performed a search for "magento" "currency symbol" but did not find anything related to the problem I am having. Basically, I installed the XAMPP BitNami version of Magento on Windows 7, and most ...
5
votes
1answer
2k views

convert amount form one currency to another currency in magento 2

I need to convert amount from one currency to another currency in magento 2 not from store base currency $priceCurrencyObject = $objectManager->get('Magento\Framework\Pricing\...
5
votes
1answer
3k views

Magento error “Currency 'USD' not found”

This is happening only when I save, for a store view, the Romanian locale. On this shop, the allowed currencies are US$, Romanian Leu and EURO. I set Currency Rates for each allowed currency: if US$ ...
5
votes
2answers
6k views

Change currency precision

What is the best way to change the currency's precision? I have a store that uses Euro as the currency, but I want to change the precision from 2 decimal places to 3. I know that the locale data is ...
5
votes
1answer
57 views

how to get proper indian currency format for price in magento 2?

in magento front end its showing ₹7,765,000.00 But we need ₹77,65,000.00 $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); // Instance of Object Manager $priceHelper = $...
5
votes
1answer
82 views

Magento 2 How can I add unit of the data in the ui form field?

I need to indicate the user that the “unit” of the data to be input, such as currency. I am using ui component form. How can I achieve it? Here is my code <field name="total"> <...
4
votes
8answers
13k views

Magento 2: How to get current Currency and symbol in PHTML File?

How can I get current currency and currency symbol in Magento 2 in a template (.phtml file)? Without creating a block
4
votes
4answers
17k views

How to change a currency symbol in Magento

For a Magento with a Swiss franc as currency, the symbole for the german store is (FR.) i want it to be (CHF) instead. In Magento this is declared in lib/Zend/Locale/Data/root.xml But i don't want ...
4
votes
2answers
2k views

Webservicex giving wrong EUR:USD conversion

On our site our base currency is Euro and we have two display currencies, US Dollars & Pound Sterling. Today, I noticed that the US Dollar rate was the same as the Euro rate, 1:1. This is ...
4
votes
3answers
1k views

Magento2 get all the currencies for default store

I have more than 5 currencies for my default store, I want to fetch all those currencies codes and symbols programmatically.
4
votes
4answers
1k views

How to get current currency symbol in multi-currencies magento 2

I am trying to show item price with symbol in override email template on order create, and my site have euro and $ both currency. Is there any way to get current currency symbol, Please share if have....
4
votes
1answer
520 views

Magento 1.9: Change currency symbol as superscripted in whole magento site

I need to change currency symbol as super scripted to price value. I have checked this and this but it changes formats on a particular pages or price instances. I want to change in throughout my ...
4
votes
0answers
367 views

Currency symbol is missing when switching

I am using Magento version 2.2.0 URL: http://www.hit-counts.com/vinca/ The currency symbol ($),(SAR) is missing when switch the English store to Arabic store. I removed the code as well from this root ...
4
votes
0answers
438 views

Currency conversion from default currency(dollars) to the another currency(dhirams) is happening twice [closed]

When i convert currency from the default currency Dollars to another currency AED in currency converter and place an order and try to print the invoice PDF. In invoice it is showing the conversion ...
3
votes
5answers
5k views

checkout in display currency

The Product prices are entered in Indian Rupees display currency is set as: Us Dollar base currency is : Indain Rupee as we all know magento checkouts in base Currency. Is there is a way ...
3
votes
6answers
2k views

How to get currency Symbol in magento 2?

I want currency Symbol using currency code in magento 2. so any one help me? I have tried below code but I got error Class Magento\Directory\Model\CurrencyFact‌​ory does not exist $_objectManager =...
3
votes
2answers
271 views

Arabic Currency Name to be move from left to right

I need to move arabic currency name "QAR 149.00" from left to "149.00 QAR" in my Magento 1.9.2.4. Have tried several techniques but none working. Urgent response is highly appreciated.
3
votes
2answers
2k views

currency position magento

i have tried change the currency position of my website cangurumoda.com.br/lojacangu/ it looks like: 200,00 R$ the corrency symbol should looks before the price, like this: R$ 200,00 well, have ...
3
votes
4answers
4k views

Magento currency symbol position - Euro for English language

I am using Magento v1.9.1.0. and I have a problem with currency symbol position when having locale set to English and currency to Euro. It displays: €24.10 I would like to show it like where locale ...
3
votes
1answer
63 views

I am not getting the value in $quote in mulitple currency

I am facing the strange issue. I have enabled multi currence on the store but when I change the currency from cart page I seeing entire blank page and getting error'Allowed memory size of 268435456 ...
3
votes
2answers
1k views

Automatic price conversion

Should price conversion, using the built in conversion rates automatically show the converted price on the frontend? I have a website with 5 storeviews each with a different currency. When using the ...
3
votes
2answers
761 views

Magento 2 curreny import issues

Currently all Magento default imports of currency are not working for a fresh demo install of Magento 2.2.4 and a couple of my active Magento 2.2.X projects. I've tried with Yahoo Finance Exchange, ...
3
votes
1answer
405 views

Change currency according to customer group

My base currency is USD. I want to change according to customer-group i.e. If customer group "Retailer" the currency =EUR. So far I managed to get customer's group code: $groupId = Mage::...
3
votes
3answers
693 views

Two currencies at same time

I need to display two currencies simultaneously, but only for appearance, not function. It should look like this 100euro/80USD or similar. I would like them to show side by side.
3
votes
1answer
179 views

Why is Locale Currency taking so long?

I have been profiling some pages and after clearing cache there is a really slow response from: Locale/Currency I am not too sure why it is taking so long. Here is the profiler entry: Here is the ...
3
votes
1answer
193 views

One Admin, two websites, one with tax in Euro and one without tax in Dollar?

we have one store in which we have tax and sell in Euros. I would like to setup a second website, not store view, and then have prices in Dollar and without tax. The Dollar price should not be ...
3
votes
0answers
107 views

Magento 2 Checkout Page, different price setup

Currently I'm on a magento project and somehow, I can't understand the logic behind this last page. The Currency that I've got is EURO, and in the /vendor/magento/zendframework1/library/Zend/Locale/...
3
votes
2answers
45 views

Is there any way to change locale along with currency for admin in Magento2

I want to update the currency and the rates for admin based on the user for which locale is set. For eg., if the locale is French, the currency should be French, but if the user is logged in from US ...
2
votes
5answers
5k views

Magento 2 Get Currency Symbol from Currency Code

I have below code $currencyManager = $_objectManager->create('Magento\Directory\Model\CurrencyFactory')->create()->getResource(); echo $currencySymbol = $currencyManager->...
2
votes
1answer
748 views

Track the currency code on product page and checkout page

I have to display some static block on product-detail-page according to currency selected from currency drop-down. ie If currency code is USD then i want to display text "abc" on product-detail-page ...
2
votes
1answer
2k views

Only one base currency is displaying in magento admin panel?

I have a magento store that is pre made by some one. In that in admin panel system configuration in curreny setup base currency, I have found only one currency "Australian dollar".How can i enable or ...
2
votes
2answers
156 views

Magento 2 Currency Switch Dropdown - Remove currency name

In Magento 2 (Luma child theme) when enabling multiple currencies you get a currency switcher dropdown in the frontend's header. By default, it shows the currency code followed by the full name, ...
2
votes
1answer
299 views

How to add Currency switcher in footer using magento 2.1

i want to add Currency switcher in footer section.
2
votes
1answer
725 views

Mage::app()->getLocale()->currency('AED')->getSymbol() return NULL in magento 1.9

I have created multi currency website in Magento 1.9. On product page I'm trying to get current currency symbol using below code : $symbol = Mage::app()->getLocale()->currency(Mage::app()->...
2
votes
1answer
2k views

How to remove the .00 decimal from the shopping cart & Invoice of magento store?

I am building an ecommerce website named bookslab.in. I want to remove the .00 decimals from the all products prices that i am adding in the shopping cart & in Invoice generated. I am using ...
2
votes
1answer
2k views

Magento 2 - Get currency of an order item

I get the order items from order using: $order = $this->orderRepository->get($orderId); $orderItems = $order->getAllItems(); How can I get the currency of an order item? We have products ...
2
votes
1answer
2k views

Magento Multi store with Multi language and Multi currency

I want to configure website for multi country – multi currency. e.g. For USA /Canada , I want to set Select country – USA , Currency should auto switch to $ from base currency. But product should ...