-
Notifications
You must be signed in to change notification settings - Fork 169
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revenue Chart showing wrong currency #792
Comments
Are the amounts correct? Is it just the symbol? |
We have the same issue but with 2 different currencies :) The install is set to € but the graph detail shows $. |
Same. Widget works for my admin user, but user with reduced permissions gets it in $ |
Similar, we have the store currency set to GBP but it's showing a $ on the points on the chart. Also, the revenue widget also shows in $ when we have GBP set. Not sure if this is an issue from upgrading to Commerce 2 from Commerce 1. |
Not sure if its applicable, but I've had similar issues before where the user account currently logged in has their language set to something else. This can happen on Craft 2 > 3 upgrades, or just setting the default language after install. Make sure to go to your account and check your language is correct. For some locales, you might not see them in the dropdown, and you might have to include them manually. For example, Australian English doesn't appear in that dropdown, so I need to add:
To my general.php file. This is the default language for my site. Then I can select it from the list, and can help solve it. |
@engram-design That does work and fix the problem. The site I had the issue on was a Craft 2 > Craft 3 build. Is this missing somewhere when upgrading from Craft 2 > Craft 3 then? |
@bymayo Possibly more of a Craft core issue, maybe @brandonkelly might have some insight? |
Taking a look at this today, think it is to do with locale being supplied to the D3 charting lib by Craft. |
Thanks @nfourtythree ! |
Hey all, A fix for this has been pushed for the next release. |
Description
The revenue Chart on the Commerce plugin on the orders page and also the gadget showing ($) as the currency where the correct on is the (SAR) .
Regards
Steps to reproduce
1.In the settings of the commerce plugin we have only one currency which is (SAR) - Saudi Riyal (Primary).
2.The system will change to (SAR) except the revenue chart.
Additional info
The text was updated successfully, but these errors were encountered: