Tutorials > Management Center


Next >


Tutorial: Adding new fields in the Catalogs tool

This tutorial continues the Warranty scenario introduced in the tutorial "Adding new properties to a WebSphere Commerce service using the data service layer", where you extended the Catalog schema with warranty and care instruction information. In this tutorial, you extend the Management Center Catalogs tool to manage the warranty and care instruction information, as well as adding logic to show the information about store product pages.

The tutorial is divided into two parts:

Part 1: Adding a language insensitive property in the Catalogs tool

You customize the Catalogs tool to provide a mechanism to select Warranty information for products in the catalog. You also update the storefront to display the Warranty information to shoppers.

The CatalogEntry noun uses the UserData element as a data extension point to add new data for Warranty without changing the logical model. In this tutorial, Warranty information is added to the CatalogEntry noun UserData element to demonstrate the addition of language independent properties. A Warranty applies to a specific catalog entry and consists of a term or the number of days the Warranty applies and a type, either limited or comprehensive. Warranty information is not translated since it only contains the term and type of Warranty.

After completing part one of this tutorial:

  • The WarrantyTerm column is displayed on the product list table in the Catalogs tool.

  • The Category Manager can open the property view, browse Warranty information, select values for Warranty term and Warranty type, and save the values to the database.

  • The consumer direct store product display pages show warranty information.

Part 2: Adding language sensitive property in Catalogs tool

You add product care instructions to the CatalogEntryDescription noun. The part attributes element shows the addition of language dependent properties. In this tutorial, a care instruction applies to a specific catalog entry and language. The care instruction consists of a text description of the instruction.

After completing the part two of this tutorial:

  • The Category Manager can open the property view to browse the information for the product's care instruction in the Catalogs tool.

  • The consumer direct store product display pages show product care instructions and warranty information.

If you are using a workspace environment, some additional work is required to content manage custom data. Complete the instructions in the following tutorial: Tutorial: Adding content managed resources to the Catalog service module.


Learning objectives

After completing this tutorial you should be able to:


Time required

Expect this tutorial to take 2-3 hours to complete.

You can load the completed tutorial code for this tutorial for the reference. However, in order to fully attain the learning objectives, it is recommended that you perform the tutorial step by step.


Skill level

Advanced


Audience

This tutorial is intended for WebSphere Commerce developers responsible for creating and customizing WebSphere Commerce services and customizing OpenLaszlo Client GUI.


System requirements

Before beginning this tutorial ensure that you have fulfilled the following prerequisites:

  1. Installed WebSphere Commerce Developer version 7.

  2. The ConsumerDirect store archive must be published.

  3. Created a category manager .

  4. Completed the following tutorial: Tutorial: Adding new properties to a WebSphere Commerce service using the data service layer


Prerequisites

To complete this tutorial you should be familiar with the following terms and concepts:


Lessons in this tutorial

Next >


+

Search Tips   |   Advanced Search