IBM WCS - Promotion Types and their XSLT templates

Purchase condition XSLT template Default promotion type
OrderPercentOffPurchaseConditionTemplate.xsl Percentage off an order
OrderAmountOffPurchaseConditionTemplate.xsl Amount off on order
OrderFreeGiftPurchaseConditionTemplate.xsl Free gift with an order
ProductAllItemPercentOffPurchaseConditionTemplate.xsl Percentage off the subtotal of catalog entries
ProductPerItemPercentOffPurchaseConditionTemplate.xsl Percentage off individual catalog entries
ProductPurchaseWithPurchasePercentOffPurchaseConditionTemplate.xsl Buy catalog entry X, get percentage off catalog entry Y
ProductSameItemPercentOffPurchaseConditionTemplate.xsl Buy catalog entry X, get additional X at a percentage off
ProductAllItemAmountOffPurchaseConditionTemplate.xsl Amount off the subtotal of catalog entries
ProductPerItemAmountOffPurchaseConditionTemplate.xsl Amount off individual catalog entries
ProductWithFreeGiftPurchaseConditionTemplate.xsl Buy catalog entry X, get catalog entry Y free
CategoryAllItemPercentOffPurchaseConditionTemplate.xsl Percentage off the subtotal of catalog entries from a category
CategoryPerItemPercentOffPurchaseConditionTemplate.xsl Percentage off individual catalog entries from a category
CategorySameItemPercentOffPurchaseConditionTemplate.xsl Buy catalog entries from category X, get additional catalog entries from category X at a percentage off
CategoryAllItemAmountOffPurchaseConditionTemplate.xsl Amount off the subtotal of catalog entries from a category
CategoryPerItemAmountOffPurchaseConditionTemplate.xsl Amount off individual catalog entries from a category
CategoryWithFreeGiftPurchaseConditionTemplate.xsl Buy catalog entries from category X, get catalog entry Y free
MultipleItemsPercentOffPurchaseConditionTemplate.xsl Buy A and B, get a percentage off both
OrderFixedCostShippingPurchaseConditionTemplate.xsl Fixed price for shipping an order
OrderFixedAmountOffShippingPurchaseConditionTemplate.xsl Amount off shipping on an order
ProductFixedCostShippingPurchaseConditionTemplate.xls Buy catalog entry X, get shipping at a fixed price
CategoryFixedCostShippingPurchaseConditionTemplate.xls Buy catalog entries from category X, get shipping at a fixed price

In addition to the purchase condition XSLT templates, there are three additional XSLT templates. These three templates are used for all default promotion types.

Purchase condition XSLT template Purpose
DefaultTargetingConditionTemplate.xsl Transforms the authoring promotion XML to create the targetingCondition section of the runtime promotion XML.
DefaultCustomConditionsTemplate.xsl Transforms the authoring promotion XML to create the customCondition section of the runtime promotion XML.
DefaultBasePromotionTemplate.xsl Transforms the authoring promotion XML to create the basePromotion section of the runtime promotion XML.