evershop icon indicating copy to clipboard operation
evershop copied to clipboard

Change the icountry does'nt reflect the currency

Open shubu998 opened this issue 1 year ago • 6 comments

Change the icountry does'nt reflect the currency

shubu998 avatar May 31 '24 06:05 shubu998

Hi @shubu998 ,

Sorry, icountry and currency? Please explain more about what you did and what is the expectation

treoden avatar May 31 '24 07:05 treoden

Not every country has $ as currency symbol. So we admin should have option to change this. Or it should automatically set when we set country.

jeswanisumit1999 avatar Jun 01 '24 17:06 jeswanisumit1999

the AreaProps :{row} which is being passed to PriceRow component itselfcontains $ as sign According to what I have understood there can be two ways to do it 1 - set the global variable when you set the store information in the settings. 2- When a new Product is added just pass the new current country sign with it and a global variable will not be required.

flashpunch0-0 avatar Jun 05 '24 09:06 flashpunch0-0

Hi @jeswanisumit1999 , @flashpunch0-0

Did you change the configuration here: https://evershop.io/docs/development/knowledge-base/configuration-guide#shop-configuration

Thanks

treoden avatar Jun 05 '24 09:06 treoden

Hi @treoden
tried to sort of do what you said but not able to see any particular changes I think we should set the storeCurrency when the store settings is changed (a country is chosen) . image

This will definitely help us as in the new product form we have image

in the query also we are passing this storeCurrency as suffix
so, if somehow you can change this storecurrency when you change the store setting then it will be a lot easier, I think.

flashpunch0-0 avatar Jun 05 '24 11:06 flashpunch0-0

Hi @flashpunch0-0

You change it from the configuration file. Please read this docs: https://evershop.io/docs/development/knowledge-base/configuration-guide

treoden avatar Jun 06 '24 05:06 treoden