Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Default currency / pricing group based on user country or audience

in Commerce 10 comments

It seems that, in Oracle Commerce, logged-out users always see prices in the default currency.

I'd like to have our store show prices to logged-out users based on what audience they're part of; for example, USD for people in America, GBP for people in Britain, etc.

What's the best way to go about this?

I could do it in a widget; just have a widget on every page that makes a REST call to find what audience the user is in, and sets the site().selectedPriceListGroup observable based on that.

However, I would expect this to be a bad user experience, because the site would load in the default currency first, before changing to the new currency when the REST call returned.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!