Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [currency]

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

0
votes
1answer
54 views

Trying to convert USD to GB in price.html, only working on first product [closed]

I need USD prices to convert to pounds for users that are logged in with their billing address in the UK. The code below works but only on the first product. I'm probably missing something obvious ...
0
votes
1answer
666 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 ...
4
votes
0answers
363 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 ...
0
votes
1answer
411 views

Can't see British Pound in currency switch Magento 2.2.2

I have Magento 2.2.2 with multi store view, My base currency is Euro, seconde USD and I added British Pound, the problem I can't see the British Pound in the dropdown switch for currency choice I ...
0
votes
4answers
2k views

How to add Space between Currency Symbol and Price in Magento 2?

Product Detail, how to add space after currency in magento 2? Below is code app/design/frontend/Custom/goshop/Magento_Catalog/templates/product/price/amount/default.phtml <?php /** @var \...
2
votes
1answer
292 views

How to add Currency switcher in footer using magento 2.1

i want to add Currency switcher in footer section.
2
votes
0answers
449 views

show currency symbol of SAR in both store view

I have store in two views Arabic and English. if I delete this code from /home/store/public_html/site/vendor/magento/zendframework1/library/Zend/Locale/Data/ar_SA.xml <numbers> <...
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 ...
0
votes
2answers
1k views

How to get current currency symbol in magento 2 js

I want to use current currency symbol in custom module Js. define([ 'jquery', 'ko', 'uiComponent' ], function ($, ko, component) { 'use strict'; return component.extend({ initialize: ...
0
votes
1answer
383 views

Magento1.9 : How to get currency symbol data in custom module template file

I have created a template file in my custom module and I want to load all currency symbol data in my template file similar to Manage Currency -> Symbol block. I tried : $currencysymbol = $this-&...
1
vote
3answers
446 views

Convert currency not working

$from='HKD'; $to='USD'; $price=10; $newPrice = Mage::helper('directory')->currencyConvert($price, $from, $to); echo $newPrice; I use this code but it not work for me it gives ...
1
vote
1answer
290 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 ...
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.
-1
votes
1answer
728 views

Magento 2: How to move currency switcher

I'm fairly new to Magento 2 and I need guidance on how to move the currency switcher from the top-header-content and into the middle-header-content. I'm using the Claue theme. I understand the that ...
1
vote
0answers
49 views

Currency not change in home page, the rest of website works fine

My store handle many currencies, and if I change the currency, it works in all pages, but in homepage. I'm using FPC, but in all pages, currency block is refreshed, but in homepage don't. I have ...
2
votes
0answers
355 views

Changing the currency format in index page

I am trying to set the currency format in My magento store based on the option selected by the customer. When customers click on an option in the header I am redirecting them to a page called check....
1
vote
0answers
284 views

switch to currency in magento 2 programmatically

I'm trying to switch to "euro" in magento2 index.php for some visitors, but i didn't find how to set currency, this is my code : $bootstrap = \Magento\Framework\App\Bootstrap::create(BP, $_SERVER); $...
0
votes
1answer
46 views

Currency Setup options are all disabled

Not on staging, but on my local instance of magento, logged in as the admin user I created during installation, I am unable to configure any options related to currency, as they are disabled. Is there ...
2
votes
1answer
470 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 ...
0
votes
1answer
186 views

How can I use local.xml to hide the currency switcher Magento1 RWD?

Our store accepts USD and for other currencies, we use paypal. I need to hide the currency switcher on the RWD theme. I've tried variations of this in local.xml: <layout> <default> ...
0
votes
1answer
80 views

Currency switch rewrite does not preserve querystring

Magento version 1.9.4 We are using Magento currency switcher URLs, and we need to add some query string at end, but when it resolves the rewrite, the querystring is gone. Ex: https://www.website....
1
vote
1answer
95 views

Subtotals shows in base Currency even if I have selected another currency for payment using Magento 1.9

There are 3 currencies being used in my website, which are INR, Dollar, and AED. My base currency is INR, but when customer proceeds for payment and selects Dollar to pay, it shows Base currency in ...
0
votes
1answer
80 views

Currency exchange not working on products

The default currency for my site is EUR but I want to change it to RON. I've followed the steps from Configuration->Currency Setup but I'm not exactly sure how this thing works. One of my product's ...
1
vote
1answer
140 views

Currency switch Cannot login or Error after login and switch currency

Can't login after changing the base currency, Store standard currency is EUR. I have registered a customer with base currency EUR. And after I change the base currency to GBP i cant login with that ...
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\...
1
vote
1answer
17 views

How to skip adding daily conversion rate for select products?

So we have two websites each with their own store views in our store. Both websites share the same catalog. All products are imported and priced in US currency, and then our Canadian website applies ...
1
vote
1answer
460 views

How to set Currency by default Billing Address Country in Magento 1.9?

In my setup only logged in customers can see prices and order. How to set currency due to their default billing address? Thanks!
0
votes
1answer
167 views

Get currency symbol in block

everybody! In header on my store I need to display a symbol of current currency. In my custom block I inherited from \Magento\Directory\Block\Currency and added following code: class Currency ...
1
vote
0answers
21 views

Shopping cart doesn't show the EURO

When a customer adds a product and goes to the shopping cart, the cart total does not show euro but instead just some random stuff, does anyone know the solution to fix this? www.fightgloves.nl
0
votes
3answers
191 views

Convert the currency format to USD for the purchases outside India

I have set up my magento store with magento 1.9. I want the currency format to be automatically converted to USD throughout my magento store, if the customer is purchasing from any country other than ...
1
vote
4answers
2k views

Magento 2 : How do conver price from any currency to base currency?

I am converting price from any other currency using currency code to base currency and for this I am using this method : $oldCurrency = 'AUD'; $newCurrency = 'USD'; $priceHelper = $objectManager->...
0
votes
1answer
705 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?
3
votes
1answer
402 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::...
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 $...
1
vote
1answer
62 views

Magento : How to Setup Advanced Search in Multicurrency Shop

I have Magento 1.9 shop with 2 languages (English and Russian) and 2 currency - Euro and RUB (Russian rubles). Currency rate setup correct and in product page I see correct price for both currency. ...
2
votes
1answer
709 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
1k views

Magento change quote currency programmatically

I am sending my magento store data to mobile application through soap request. I am having issue with multi currency. To mange the multi currency in android manging conversion through javascript. ...
0
votes
0answers
146 views

magento 1.9 Create order programmatically in aed currency with aed rate

I want to create order in aed currency. In store, there is only 2 currency 1 is pkr which is base currency and other is aed. When I switch PKR to AED order place in pkr. <?php error_reporting(...
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 ...
2
votes
1answer
798 views

Change currency programmatically in order on Magento 1

I try to change the currency from "RON" to "USD" in a programmatically order but i don't know how. I also want to add the Store in the order (Purchased from (store)) like in the attached picture ...
2
votes
2answers
215 views

Currency switcher isn't working properly

I used custom theme by Plazma theme in my magento website, in home page when i select currency from header it changes and rates and only in few sections, For example, there are three sliders ...
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 ...
0
votes
1answer
94 views

magento 2 i want to add some new Currency

How to add new Currency in Magento 2 in backend I saw some currency is there more than that I want to add new MYR, SGD, LKR
2
votes
0answers
127 views

Currency Selector not reflecting changed currency in footer due to magento cache

I have two currency selector in my magento store one in header and other in footer. When magento cache Blocks HTML output is disabled then both currency selector reflecting correct currency on ...
0
votes
1answer
543 views

How to add Custom Currency option in Magento 2.1.3 Admin

I have two different stores on my website. For one of the store I need to show product price in "Points" like instead of "$45.00" I need to show it as "45 points". Like in the image attached. Note: ...
0
votes
1answer
37 views

Format for integers in my Account magento

As I show the values of the purchase orders without the decimals I want you to show them this way $ 23,747
0
votes
1answer
51 views

Currency symbol doesn't shown

there is a problem on my magento 1.9.2 the Currency symbol dosen't shown with the price , I did enabled from admin panel but still doesn't shown I hope you can help me with it.
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\...
0
votes
1answer
792 views

Get currency rate by currency code

I need to currency rate by currency code in magento 2. $currency = $objectManager->get('Magento\Framework\Pricing\PriceCurrencyInterface'); $currencySymbol = $currency->getRate('USD'); I ...
0
votes
1answer
668 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 ...