You can configure Core Commerce to remove unused coupon-based promotions from the user’s profile during processing. This feature tidies up promotions that customers have qualified for, but did not use on an order. The process is as follows:

If unused promotions are not removed, those promotions remain on the customer’s profile and can be used on a later order (if the customer qualifies) without re-entering the coupon code.

To enable unused coupon removal, set the enabled property of the RemoveUnusedPromotions component to false, which is the default. If set to true, the ProcRemoveUnusedPromotions pipeline processor in the processOrder pipeline chain looks at each promotion’s status and removes promotions that meet all of the following criteria:


Copyright © 1997, 2016 Oracle and/or its affiliates. All rights reserved. Legal Notices