Core Commerce does not configure user profile price list functionality by default. To add price list functionality, configure the ItemPricingEngine
to use the appropriate precalculator.
There are price list-specific versions of each of the precalculators used by the ItemPricingEngine
. ItemPriceListCalculator
is the precalculator for list pricing. ConfigurableItemPriceListCalculator
is the precalculator for configurable item pricing.
The following code example shows how the /atg/commerce/pricing/
file is modified to use the
ItemPricingEngine.propertiespriceList
calculators:
preCalculators=\
calculators/ItemPriceListCalculator,\
calculators/ItemPriceListSaleCalculator,\
calculators/ConfigurableItemPriceListCalculator,\
calculators/ConfigurableItemPriceListSaleCalculator
Note: The configurable item calculator is optional. It only needs to be used if your sites support configurable commerce items.
When using price lists, set these precalculators. When an item is priced, the pricing calculators will use the price lists defined here to determine what price to use.