Displaying Prices in Multiple Currencies

You can show product prices in multiple currencies in the storefront using the Salesforce B2C Commerce API.

Use these API methods:

  • ProductPriceModel.getPriceBookPrice(String priceBookID)
  • ProductPriceModel.getPriceBookPrice(String priceBookID, Quantity quantity)

If the price book currency is different from the site currency, these methods return a product price.

Note:

This feature is for display purposes on the product details page only. The feature lets you show product prices in another currency, along with the actual sales price in the site currency. This feature doesn't enable you to implement a multi-currency checkout, for example.

Search result sorting, search refinements, price ranges, and other price-related features are limited to the site currency only.