Skip to main content

skip to main content

developerWorks  >  WebSphere  >

Enabling business users to preview in customer segments in WebSphere Commerce V7

developerWorks
Page 1 of 9 Go to the next page

Document options
PDF format - Fits A4 and Letter

PDF - Fits A4 and Letter
311 KB (13 pages)

Get Adobe® Reader®

Sample code


My developerWorks needs you!

Connect to your technical community


Rate this tutorial

Help us improve this content


Level: Intermediate

Marco Deluca (madeluca@ca.ibm.com), Solution Architect, IBM

04 Nov 2009

This tutorial explains how to preview content as if you were in one or more customer segments. Using the WebSphere® Commerce Management Center, you can select a customer segment and preview your Web store in that context. This tutorial also demonstrates how to add custom preview parameters in WebSphere Commerce V7.

Before you start

This tutorial demonstrates a quick example of extending the WebSphere Commerce V7 preview capability to add additional preview options, thus allowing business users to preview their Web store in the context of various shoppers. It showcases customizing the WebSphere Commerce Management Center interface to display new preview options. Next, it describes how to extend the preview business context to hold additional preview parameters. Finally, it shows how to customize the marketing subsystem to evaluate if the shopper browsing the Web store is previewing the store in a specific customer segment.

Extrapolating from this exercise, you can add new preview options to enable preview in the context of other attributes. For example, if you choose to preview in the context of a specific Sales Catalog, you can build functionality to right-click the Sales Catalog entity and preview it in the context of that particular catalog.

Objectives

Learn how to:

  • Customize the Management Center to add new preview options.
  • Extend the WebSphere Commerce framework to process and store the custom preview properties.
  • Enable business users to preview in the context of a customer segment.

Figure 1 demonstrates how a business user can select a customer segment and preview in that context. Right-clicking a customer segment results in a context menu displaying the new Preview In Segment option.


Figure 1. New Preview In Segment option
New Preview In Segment option


Back to top


Prerequisites

This tutorial is for WebSphere Commerce V7 developers with Java™ and XML familiarity. You should be familiar with the WebSphere Commerce model-view-controller extensions model and the Management Center framework before customizing the Management Center. Experience using IBM® Rational® Application Developer is also recommended.



Back to top


System requirements

Before beginning this tutorial, ensure that:

  1. You are using WebSphere Commerce Version 7. Previous versions are not described in this article.
  2. You are using the WebSphere Commerce development environment.
  3. You have a starter store published.



Back to top


Duration

This tutorial takes about one and a half hours to complete.



Back to top



Page 1 of 9 Go to the next page