Processing Discounts

The discounts Content Selection pipeline and the OrderDiscount pipeline component are used to process discounts. You use the discounts CSF pipeline to advertise the most appropriate discount to a user. The OrderDiscount component in the Basket pipeline is used to apply discounts to the shopping basket.

  • Discounts Content Selection pipeline checks the start date and end date of the discounts, and then adjusts the scores in the list of possible discounts. It ensures that the discounts that are most relevant to the current user receive the highest priority.
  • The OrderDiscount pipeline component first applies the requirements to the available discounts. Depending on the discount involved, it uses the user profile and context profile information to evaluate target expressions. In addition, if a discount requires a click, it checks the list of campaign item IDs for every item clicked. Next, the OrderDiscount pipeline processes each item, testing the conditions and awards. Discounts are applied from highest to lowest priority. If two discounts have the same priority, properties other than the priority determine the order in which the discounts are applied.

Copyright © 2005 Microsoft Corporation.
All rights reserved.