Setup currency in XP -
Go to this path - /sitecore/Commerce/Commerce Control Panel/Shared Settings/Currency Settings/Currency Sets
Create a new currency item and choose the correct configuration, so here we have done the master configuration, Now we need to configure this currency at the store level -
Go to /sitecore/Commerce/Commerce Control Panel/Storefront Settings/Storefronts/YourStoreName/Currencies Display Adjustments/AddNewCurrencyhere
We are done with XP settings now - Let's configured the Sitecore commerce now.
Go to this path -
C:\inetpub\wwwroot\yousite.dev.local\App_Config\Include\Y.Commerce.Engine
Create patch file for below settings
<defaultShopCurrency>USD</defaultShopCurrency>
Update the BizFx solution and update below configuration-
"Language": "en",
"Currency": "USD",
Good so here are the final steps - Need to configure the commerce engine environment policies {
"$type": "Sitecore.Commerce.Core.GlobalCurrencyPolicy, Sitecore.Commerce.Core",
"DefaultCurrencySet": "0F65742E-317F-44B0-A4DE-EBF06209E8EA"
Update the Id for new items created in step first -CommerceAuthoring-1.0.0.json CommerceMinions-1.0.0.json CommerceShops-1.0.0.json CommerceAuthoring-1.0.0.json
No comments:
Post a Comment