I recently studied the application of OFBiz electronic mall and found that all the products in it are priced in USD. If I want to localize the OFBiz electronic Mall, this billing method must be in the local currency.
I also referred to some popular online posts:
Example: http://blog.csdn.net/hezhipin610039/article/details/6903281
The general content is as follows:
1. Currency and local language settings
Currencies can be set in the following configuration files:
$ {OFBiz install dir}/Framework/Common/config/General. Properties
1) default currency symbol (it must exist in the UOM table and is represented by three Spanish characters. For details, see the framework \ common \ data \ countrycodedata of the seed data. XML file): currency. UOM. id. default = USD
2) default countryCode(It must exist in the GEO table. The ISO country code is represented by three Western characters. For details, see/Framework/Common/data/geodata of the seed data. XML file): Country. GEO. id. default = USA
3) Note that these configurations can be overwritten on the edit product store page.
Read the above description:
Find the corresponding file General. properties,
Modify the following code:
# -- The default currency to use for prices, etc
Currency. UOM. Id. Default = USD
Changed:
# -- The default currency to use for prices, etc
Currency. UOM. Id. Default = CNY
The local settings of OFBiz electronic mall currency are not enough!
The opinions of the group members in OFBiz also need to be set up in the store of OFBiz,
The procedure is as follows:
Go to the store where you want to set different currencies and find the "localization" setting function:
The default value is:
Change to the currency you need, such as RMB:
After this setting, the system will use RMB as the default currency, log on to the electronic mall again, and then "add a shopping cart" for items priced in RMB, an error still occurs:
The translation seems to be:
A valid product price cannot be found for a product marked as 10020, and cannot be added to the shopping cart!
I am puzzled!
Had to continue searching for solutions online, found blog: http://blog.csdn.net/hezhipin610039/article/details/6903255
(After reading the above, readers will find that this blog is also fromThe Internet is full of dust. I think the bloggers have made a lot of research on OFBiz ~)
There is a brief description of the OFBiz product price:
1) the prices of OFBiz products are very flexible. This includes two main aspects: price and price