This scenario makes use of the “Add Item to Order” action, which enables a scenario to directly add items into a customer’s shopping cart. The advantages of this are apparent when you consider the case when the site would like to offer a customer a free gift. In this case, Pioneer Cycling offers customers a free water bottle when they purchase a jersey.

The first segment “ShowIncentive” waits for customers to browse the clothing category. When they do, they are told about the free gift offer through media placed in the “MediaSlot” slot.

The next segment, “FreeGift”, begins when the customer places a jersey into the shopping cart. First, the customer is given the promotion that discounts the water bottle to free. Next, the order is tested to see if it already contains any other free water bottles. If it doesn’t, then the “Add Item to Order” action, puts one into the cart. When the customer adds the jersey to the order, the cart shows both the jersey and the water bottle, with the bottle marked as free. If the customer were to try to outwit our scenario by removing the jersey and taking off with the free water bottle, he would notice that the water bottle without the jersey now costs $20.00 – its regular price. This happens because of a safeguard in the promotion rule that states “Discount exactly 1 water bottle when Order contains at least 1 jersey.”

 
loading table of contents...