- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 05:20 AM
Hello All,
I needed some insights on how to show the prices of cat items on service portal on defined currency on the item instead of users' local language. The client instance has localization enabled. Currently on the service portal checkout screen the item prices are shown in SEK (defined on the item) but once the user reaches portal Request Summary page the price changes to user's local currency. This has to be achieved without updating the single currency model localization parameters as it's a platform level change. Let me know if anyone has customized this on the portal or though some code on the backend.
Thanks,
Tirtha Chowdhury
Solved! Go to Solution.
- Labels:
-
Service Catalog
-
Service Portal
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 06:55 AM
Ok, so typically the currency displayed in the Service Portal is derived by the "Country Code" and the "Language" of the user. You may need to add the "Country Code" field to your user form if it's not already there,
So, for example, if I have a user with "United Kingdom" as their Country, and "English" as the Language then I will see the Catalog Items with a Currency of £, like this:
If I have another user with Japan as their "Country Code" and "Japanese" as their language, then I would see this:
As you mention "SEK" as the currency, do you already have the Swedish language pack installed?
Also side note, you'll notice that the currency calculation is already taken into account based on the previous nights currency conversion rates.
- Second side note, if you want to test it on a user you are already logged in with you will either need to fully log out and back in again ensuring the correct language for that country is selected or perform a cache.do, this is because the browser session might get confused and so need to be flushed,
If you want to take this one step further, you can even go down the "locale" route (predetermining currency, price and date formats to a given location) but I might save that for a blog post in the future as it's a big topic,
If you want to learn more about what I mean check this Docs article,
Many thanks,
Kind regards
Director of Globalization Deployment, Internationalization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 06:55 AM
Ok, so typically the currency displayed in the Service Portal is derived by the "Country Code" and the "Language" of the user. You may need to add the "Country Code" field to your user form if it's not already there,
So, for example, if I have a user with "United Kingdom" as their Country, and "English" as the Language then I will see the Catalog Items with a Currency of £, like this:
If I have another user with Japan as their "Country Code" and "Japanese" as their language, then I would see this:
As you mention "SEK" as the currency, do you already have the Swedish language pack installed?
Also side note, you'll notice that the currency calculation is already taken into account based on the previous nights currency conversion rates.
- Second side note, if you want to test it on a user you are already logged in with you will either need to fully log out and back in again ensuring the correct language for that country is selected or perform a cache.do, this is because the browser session might get confused and so need to be flushed,
If you want to take this one step further, you can even go down the "locale" route (predetermining currency, price and date formats to a given location) but I might save that for a blog post in the future as it's a big topic,
If you want to learn more about what I mean check this Docs article,
Many thanks,
Kind regards
Director of Globalization Deployment, Internationalization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 09:24 AM
Thank you so much for the response. The Swedish Language pack is already installed. The currency and price are getting correctly populated for users as per their locale. But my requirement is to override this behavior and show the currency and price mentioned on the catalog item to users irrespective of their locale. It will be great if we could at least achieve this on Service Portal (both checkout and summary pages).
Thanks,
Tirtha Chowdhury
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 09:30 AM
Just so I fully understand, is it that the summary page isn't showing in SEK?
Many thanks,
Kind regards
Director of Globalization Deployment, Internationalization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-08-2021 10:53 PM
Yes the summary page is not showing in SEK for users' having different locale currency. Adding screenshots for a specific user having Euro as the locale currency. The price settings on the specific catalog item is in SEK with Fixed (single currency) setup on the Price table.
Regards,
Tirtha Chowdhury