Step 5: Add Category Values to the Category Definition
After your create a base catalog, you add a list of categories to it that enables users to browse the catalog by category.
In this step you will add category values to the category definitions for the ResidentialSiding base catalog.
After you create a category tree, you first create all the categories, and then you organize them in a hierarchy that resembles what users see on the Web site when they search for products.
- Click Start, point to Programs, point to Microsoft Visual Studio .NET, and then click Microsoft Visual Studio .NET.
- In the Microsoft Development Environment [design] – Start Page screen, click Open Project.
- In the Open Project dialog box, select the NorthwindTraders project, and then click Open.
- In the NorthwindTraders – Microsoft Visual C# .NET [design] – Default.aspx window, click Project on the toolbar, point to Commerce Server Project, and then select Business Desk.
- In Catalogs, click Catalog Editor.
- In the Catalogs screen, select the ResidentialSiding catalog, and then click on the toolbar.
- In the Catalog Content - Residential Siding (English - United States) screen, in the Categories section, click New.
- In the New Category dialog box, select Building Materials, and then click Continue.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type SidingType. Display Name Type Siding Type. - To save the catalog property, click on the toolbar .
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type MaintenanceFree. Display Name Type Is Maintenance Free?. - To save the catalog property, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type Aluminum. Display Name Type Aluminum. - To save the catalog property, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type Vinyl. Display Name Type Vinyl. - To save the catalog property, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type Wood-Laminate. Display Name Type Wood-Laminate. - To save the catalog property, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type Cedar. Display Name Type Cedar. - To save the catalog property, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type IsMaintenanceFree. Display Name Type Is Maintenance Free. - To save the catalog property and return to the Catalog Content - ResidentialSiding (English - United States) screen, click on the toolbar.
- In the Catalog Editor - ResidentialSiding (English - United States) - new (Building Materials) screen, in the Category Properties section, do the following:
Use this To do this Name Type IsNotMaintenanceFree. Display Name Type Is Not Maintenance Free. - To save the catalog property and return to the Catalog Content - ResidentialSiding (English - United States) screen, click on the toolbar.
- In the Catalog Content - ResidentialSiding (English - United States) screen, in the Categories section, in the Categories list select Siding Type, and then click Edit.
- In the Catalog Editor - ResidentialSiding (English - United States) - Siding Type (Building Materials) screen, in the Assigned Categories section, add the following categories from the Available child categories to the Assigned child categories list:
- Aluminum
- Vinyl
- Wood-Laminate
- Cedar
- Click on the toolbar to save the catalog and return to the Catalog Content - ResidentialSiding (English - United States) screen.
- In the Catalog Content - ResidentialSiding (English - United States) screen, in the Categories section, in the Categories list select MaintenanceFree, and then click Edit.
- In the Catalog Editor - ResidentialSiding (English - United States) - MaintenanceFree (Building Materials) screen, in the Assigned Categories section, add the following categories from the Available child categories to the Assigned child categories list:
- IsMaintenanceFree
- IsNotMaintenanceFree
- To save the catalog and return to the Catalog Content - ResidentialSiding (English - United States) screen, click on the toolbar.
Copyright © 2005 Microsoft Corporation.
All rights reserved.