The atg.commerce.pricing.GWPDiscountCalculator
is located at /atg/commerce/pricing/calculators/GWPDiscountCalculator
. The calculator is responsible for discounting existing targeted items in the cart, and creating and updating GWPInfo
objects for the current pricing operation.
To use this calculator, set the calculatorTypeCalculators
property of the ItemPricingEngine
to gwp
.