The QualifierService
component is a preconfigured instance of the helper class atg.commerce.pricing.Qualifier
. The default Core Commerce discount calculators use this component to determine the objects to which they should apply their discounts.
The following properties are in the QualifierService
.
pricingModelProperties
: Specifies a bean that hosts the names of all of the properties of a pricing model repository item.PMDLCache
: An instance ofatg.service.cache.Cache
that maps a Pricing Model to its parsed Java form. In a production environment, caching increases site performance by allowing Core Commerce to evaluate pricing models more quickly. A setting of -1 indicates an unlimited cache size.In a development environment, however, you may want to disable caching for pricing models so that changes you make to PMDL rules appear on your development site immediately, without requiring you to flush the cache. To disable caching for pricing models, locate the
maximumCacheEntries
property in the appropriate instance ofatg.service.cache.Cache
and set the property to 0.
You can view and modify the QualifierService
component in the ATG Control Center. The component is located in /atg/commerce/pricing/QualifierService
.