How would you configure the /atg/commerce/pricing/ItemPricingEngine?

Your site supports configurable commerce Items and you want to enable price list based pricing.
How would you configure the /atg/commerce/pricing/ItemPricingEngine?

Your site supports configurable commerce Items and you want to enable price list based pricing.
How would you configure the /atg/commerce/pricing/ItemPricingEngine?

A.
preCalculators=\
calculators/ItemListPriceCalculator,\
calculators/ConfigurableItemPriceCalculator

B.
preCalculators=\
calculators/ItemPriceListCalculator,\
calculators/ConfigurableItemPriceListCalculators

C.
preCalculators=\
calculators/ItemPriceListCalculator

D.
preCalculators=\
atg.commerce/pricing/calculators/ItemListPricecalculator

Explanation:
Price List Calculators
An ItemPriceCalculator class maintains all the functionality common to all the pricing schemes.
Three sub-calculators correspond to the three different pricing schemes. The three different
schemes are calculating the list price of an item, calculating the price of an item using bulk pricing,
and calculating the price of an item using tiered pricing.
* ItemListPriceCalculator: Calls the getPrice method from the PriceListManager to retrieve the list
price of the CommerceItem.
* ItemBulkPriceCalculator
* ItemTierPriceCalculator

Note:
* The ItemListPriceCalculator is a calculator which determines the list price of an item and sets the
itemPriceInfo to be that amount. The pricing scheme for that item is list pricing.
atg.commerce.pricing.priceLists, Class ItemListPriceCalculator



Leave a Reply 0

Your email address will not be published. Required fields are marked *