Questions tagged [currency]

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

1
vote
2answers
33 views

Magento 2: How to pass custom params with url?

I want to pass custom params( product id and currency) with product page url dynamically. Example url: https://example.com/boys-5-piece-blue-suit-eric.html?id=123&currency=GBP Need help
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 ...
0
votes
1answer
739 views

Currency doesnt change when item in cart

I am using multiple currencies on my website and works perfectly until I add an item to the cart. Once i added the cart, the currency is changed, Magento stalls and eventually times out. I then have ...
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 ...
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
1
vote
3answers
1k views

How to use paypal for other currency in Magento2

I have magento2 with base currency NPR I want to use Paypal as another payment option. where as papal doesn't support NPR i want to pay it in droller. for that I have added "NPR" in $...
2
votes
1answer
52 views

Change quote currency before place order

I want to change my quote currency code to EUR when an order is placed in any other currency. I tried writing event and observer of event sales_order_place_before. In my observer I have this code ...
2
votes
1answer
49 views

How to rename currency name?

how can I change "AED - United Arab Emirates Dirham" to "AED - UAE Dirham" in Luma currency switcher? I created en_US.csv file in my custom theme > i18n folder and added "united Arab Emirates" in ...
1
vote
1answer
241 views

the default display currency you selected is not available in allowed currencies

i am new in magento 2, i want to set my currency to dinar but i did not find this currency. how to add a new currency BO. other question: the Us dollar is not available in allowed currencies even it ...
0
votes
2answers
1k views

Magento 2: How to get full Currency Switcher

I want to get the full URL to switch currency to use it as a link, Currency switcher use the widget to change the currency, I don't want to use the widget. For Example: This is how works now: <a ...
2
votes
2answers
46 views

M2.3.1 - Remove currency symbol from price

Is it possible to get the price without currency symbol, or a way to put a div around the currency symbol to hide it with css? $block->formatCurrency($block->getDisplayValue(), (bool)$block->...
0
votes
1answer
709 views

Magento 2 : Currency change frontend event

I want to update the quote item price on switching the currency from the frontend. Is there any event to track currency switch option and give me the previous currency and requested currency?
1
vote
1answer
291 views

How to change the ISO currency code in the Magento core?

This is not a duplicate question, I have a very rare problem. More than a year ago, the ISO currency code "Belarusian Ruble" changed. Previously it was "BYR", and now "BYN". Since then, there have ...
0
votes
0answers
21 views

Language and currency switcher js error

Added language and currency switcher to template using this below layout. <block class="Magento\Framework\View\Element\Template" name="store.settings" group="navigation-sections" template="...
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.
0
votes
3answers
3k views

Convert the price from Base Currency to USD at the stage of paypal payment?

I have integrated PayPal to my website and PayPal does not support Base currency INR and support if Base Currency US Dollar. Partial Working Method: app\code\core\Mage\Paypal\Model\Express\...
0
votes
1answer
46 views

Magento 2.3 removed Webservicex and Yahoo Finance Exchange

What i see in magento 2.2 and 2.3 is that Webservicex and Yahoo Finance Exchange are removed. Why are they removed? What are the alternative to them? How can i add them back?
1
vote
0answers
28 views

Get base currency scope in Magento 2 Programmatically

I have created dynamic rows in Product edit form using dataProvider as per my custom requirements. I want to have Catalog Price Scope dropdown with amount option as in screen shot: I have got amount ...
1
vote
0answers
31 views

Show base currency price & display currency price at the same time in magento2?

I would like to show product price in both base currency & display currency. I have already enable display currency in frontend - that is i can see "USD / EUR" in header dropdown. If i want to ...
0
votes
2answers
56 views

How to default display currency change?

I got error (not available in allowed currencies) Sorry, the default display currency you selected is not available in allowed currencies.
0
votes
3answers
615 views
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"> <...
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 = $...
2
votes
1answer
475 views

Magento 2 base price with currency

I will try to explain as much as I can. Take note: We use the website as a view site only and no checkout is complete with the website. We use magento because it give us good module and easy ...
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/...
0
votes
1answer
691 views

Currency Symbol is not showing

In my Magento website it does not show the currency symbol next to the price, but this only happens when I click on a product to see the details of it. Otherwise it shows. Magento ver 1.9 link to ...
1
vote
0answers
493 views

Create custom currency programmatically in magento

I want to add my own currency in magento like as other currencies,and also for the created currency I want to set rate. how I can do this. Is there any idea?
2
votes
1answer
67 views

Magento 2 Moving Currency Switcher

New to Magento 2 and not quite understanding the docs. In child Luma theme I am trying to move the currency switcher to the main header area (next to the minicart) but having no luck with it. In /app/...
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, ...
0
votes
1answer
679 views

Magento 2 - Rounding Float Values to Currency Precision

Currently I have stored values based on percentages of order subtotals out to a precision of 4 decimal places in the database. I need to show a balance as a total sum of those percentages. I have an ...
1
vote
0answers
16 views

How to show all available currency prices in magento 2

All the products in my project are configurable. I managed to convert price using below code. $objectManager = \Magento\Framework\App\ObjectManager::getInstance(); $product1 = $objectManager->get('...
9
votes
1answer
660 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 ...
1
vote
1answer
2k views

Magento 2 How to change currency symbol position left to right

How to display price currency symbol after the amount on the right side. from: USD333 to: 333USD
1
vote
1answer
111 views

in Magento 2: How to set Currency by default Billing Address Country

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?...
2
votes
0answers
38 views

Currency Converter

We have a problem in our webshop that the currencies switch with each other. The prices are Swedish Krona and Euro (we have two separate websites where the currencies are used). Only some products ...
0
votes
1answer
716 views

Cron does not update currency rates

I'm using this module to replace webservicex currency rates importer: https://github.com/philwinkle/Philwinkle_Fixerio It is working ok when I hit import and save in the backend. But I want to run ...
1
vote
0answers
34 views

Multiple currency not working with custom price quote - Magento 2

I created quote with custom price from Magento admin, it works fine but it does not work multiple currency. e.g) I created quote to customer with custom price $10 (USD currency), when customer checks ...
0
votes
0answers
44 views

Need to remove Currency name(ie \gdp or \usd) from url in magento

I am new to Magento 1.9 I m trying to remove currency name from url and at the same time setting canonical url
1
vote
1answer
195 views

Adding Currency Switcher to Nav Menu [closed]

Been searching around here but can't seem to find an answer to this. How do I add currency switcher in navigation menu in mobile view? It's displaying on the header in desktop view. Would like to add ...
1
vote
0answers
25 views

Magento 1.9.2. - Change format of summary in cart page

I would like to change the format of the totals in the summary on the shopping cart page, on the checkout page and also in the email for new order, on the customer's orders list, etc. At the moment ...
0
votes
0answers
159 views

Currency issue with Payflow Pro Paypal Payment method in Magento 2

I'm facing an issue with currency on PayPal using Payflow Pro payment method in Magento 2.1.12 In-Store, there is 2 currency CAD and USD for each store view and I have used Amasty Geo IP Redirect ...
0
votes
0answers
21 views

How to change Credit Currency on Companies?

I already selected in Stores/Configuration/General/Currency Setup/Currency Options/Allowed Currencies: Mexican Peso Colombian Peso etc... But when i visit Customers/Companies/Company Credit/...
0
votes
1answer
73 views

Remove currency symbol of price type product attribute from admin product form

I've added price type product attribute for the product sorting, here is the screenshot:- http://nimb.ws/Wqat3J How can I remove currency symbol? Waiting for the reply!
0
votes
1answer
54 views

Page cache issue, my plugin only works after the first page load

I have created a module that autoselects a currency based on the user's country using a plugin for Magento\Store\Model\Store::getDefaultCurrencyCode() . On the first page load it will show the ...
2
votes
1answer
239 views

Currency 'USD' not found when trying to access admin

I have never encountered this error before. I did a quick search for it. I found another thread but it seemed to vary a bit from my problem. Here is my stack trace: There has been an error ...
0
votes
0answers
41 views

Force display currency with URL (Magento 1)

We are having issues with our international Google shopping campaigns where we our feeds are serving the prices converted to the currency for that country, ie Euros, but Google are rejecting the data ...
0
votes
0answers
25 views

Magento2: Can I charge orders by order currency & use that for invoices/creditmemos as well?

I'm using a custom payment gateway module & I noticed that it's always using the base currency (event when my store has multiple currencies & I picked a different one from the switcher). On ...
0
votes
1answer
671 views

Magento 2 Currency Setup - Allowed Currencies programmatically

How to set 'Allowed Currencies' for each store programmatically in Magento2. Options in Admin Panel are placed here: System -> Configuration -> General -> Currency Setup Also I'm not sure ...
0
votes
2answers
176 views

How to convert rate from any currency to base currency in magento 2

class Data extends AbstractHelper { protected $_storeManager; protected $_currencyFactory; public function __construct( \Magento\Store\Model\StoreManagerInterface $storeManager, ...
1
vote
0answers
53 views

Display two currencies at same time

I've tried so many solutions, but nothing works. I want to show the price in BRL and USD. <?php /** * Template for displaying product price in different places (products grid, product view page ...