Gift with purchase messages appear in an orange banner at the top of the shopping cart page. The store.war/cart/gadgets/cartMessages.jsp is responsible for rendering this portion of the shopping cart. This page uses a similar technique to store.war/cart/json/cartMessages.jsp. Specifically, it uses a TargetingArray droplet to retrieve the messages Commerce has placed in the NoCleanBeforePricingSlot, and it filters out duplicates or conflicting messages using the PromotionMessagesFilter before rendering the messages.


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