88 WebSphere Commerce V7.0 Feature Pack 2 Search Solution Overview and Deployment
b. For Search keywords, enter bodysuit.
c. Make sure that the Use synonyms option is checked. (By checking the Use synonyms
check box, this activity will be triggered by the specified search keyword or any
synonyms that are defined for the search keyword.)
d. For Times, select 1.
e. For Time frame, select At any time.
Figure 3-78 Enter the properties for the trigger
7. Drag and drop the Issue Coupon action into the work area after the trigger Customer
Searches and click it.
8. Click the Issue Coupon action to display its property panel.
Chapter 3. Search business rules 89
9. Type 15% off orders in the text box and click Find and Add, as shown in Figure 3-79.
Figure 3-79 Add the Issue Coupon action
10.Click Save and Close.
90 WebSphere Commerce V7.0 Feature Pack 2 Search Solution Overview and Deployment
11.Open the Activities - List, right-click the current activity that was created, and select
Activate, as shown in Figure 3-80.
Figure 3-80 Activate the dialog activity
For the trigger Customer Searches to work, the Management Center marketing features have
to be enabled and WebSphere Commerce must be configured to track the online behavior of
shoppers. To enable these functions, you must follow the steps that are described in the
following WebSphere Commerce Information Center link:
򐂰 Persistent sessions and personalization ID (Step 3)
򐂰 Sensor Event Listener (Step 4a - c)
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/index.jsp?topic=/com.ibm.co
mmerce.management-center.doc/tasks/tsbenable_dup.htm
Chapter 3. Search business rules 91
After restarting the WebSphere Commerce application or test server, log in to the storefront
and search for bodysuit. The marketing activity is triggered and a coupon is issued to the
customer.
The customer can view the coupon in the My Coupons section under the My Account page,
as shown in Figure 3-81.
Figure 3-81 My Coupons list
When you click the coupon, you see the coupon details, as shown in Figure 3-82.
Figure 3-82 Coupon details
92 WebSphere Commerce V7.0 Feature Pack 2 Search Solution Overview and Deployment

Get WebSphere Commerce V7.0 Feature Pack 2 Search Solution Overview and Deployment now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.