The active customer pricing locale drives the currency and currency codes of prices used in CSC. The active pricing locale may be customized based on the supported currencies of the store.

Class

atg.commerce.csr.util.CSRAgentTools

Component

/atg/commerce/custsvc/util/CSRAgentTools

The getActiveCustomerPricingLocale() method provides access to the pricing locale and will return the price list locale (if one is specified and price lists are being used). If the price list locale is unavailable, the locale stored in the customer profile will be used. Failing that, if /atg/commerce/custsvc/util/
CSRAgentTools.useRequestLocale=true
, the current request locale will be used. If all of these attributes are unavailable, the value of the /atg/commerce/pricing/PricingTools.defaultLocale will be used.

 
loading table of contents...