Tutorials > Customize > Create views for multiple catalogs in a store
Create sales catalogs
In this part of the tutorial we will create three different sales catalogs. The first one will act as the main sales catalog, the second one will be a holiday sales catalog, and the third one will be a spring fever sales catalog. When you create the catalogs make sure to enter the codes exactly as shown since those codes will be used in later steps. As well, make sure that these codes are unique and contain no spaces. After the unique identifier is in place, WebSphere Commerce provides the mechanism for the URL to reference the sales catalog by its identifier. Once you setup the store to point to a sales catalog this way, then all remaining pages will display that sales catalog until a new sales catalog is specified by another URL reference. This allows a shopper to be able to view multiple catalogs in a single store.
Procedure
- Start WebSphere Commerce Developer
- Open the WebSphere Commerce Accelerator
Select the consumer direct sample store.
- Click Merchandise > Sales Catalogs
- Click New
- Enter the following information about the New Sales Catalog page:
Option Description Code The sales catalog code which uniquely identifies the sales catalog in the WebSphere Commerce system, ConsumerDirectSalesMain. Description A description of the sales catalog, Main Sales Catalog Language The language for the catalog. If you are creating a sales catalog in a language other than the store's default language, ensure that you have created that same catalog in the default store language first. The reason is because the default language is always referenced whenever other language data does not exist. Enter the preferred language. Name The name of the sales catalog, Main Items Short description: A brief description of the sales catalog, Main Items. Long description: A long description of the sales catalog, Main Items. Thumbnail image file and location: The thumbnail size image path and name for the sales catalog. Do not enter any value in this field for this tutorial. Full size image file and location The full size image path and name for the sales catalog. Do not enter any value in this field for this tutorial.
- Click OK. The new sales catalog is displayed in the list of available catalogs
- Enter merchandise into the catalog
- Put a check next to the catalog you just created, and click Design
- Click New Category and enter required information for the new category, and click OK.
- Select the new category. You can create a sub-category by clicking New Category.
- On the right-hand frame select, Display a source catalog. This will enable you to add products to the sales catalog from the master catalog.
- Select the master catalog and click Display Category Tree.
- Select a category in the master catalog and click List Catalog Entries.
- Put a check next to the name of the catalog entries to insert into the catalog, and click Add To Target Category. The merchandise is now added to the new sales catalog.
- When you have selected all of the catalog entries that you want for the new catalog, click the Sales Catalogs link in the bread crumb trail at the top of the page.
- Repeat steps 4 to 7 to create the holiday sales catalog, entering the following information.
Option Description Code ConsumerDirectSalesHoliday Description Holiday Items Language Your preferred language Name Holiday Items Short description Holiday Items Long description Holiday Items for special sales catalog references Thumbnail image file and location Do not enter any value in this field for this tutorial. Full size image file and location Do not enter any value in this field for this tutorial.
- Repeat steps 4 to 7 to create the spring fever sales catalog:
Option Description Code ConsumerDirectSalesSpringFever Description Spring Fever Items Language Your preferred language Name Spring Fever Items Short description Spring Fever Items Long description Spring Fever Items for special sales catalog references Thumbnail image file and location Do not enter any value in this field for this tutorial. Full size image file and location Do not enter any value in this field for this tutorial.
You have now created three new sales catalogs: a main sales catalog, a holiday sales catalog, and a spring fever sales catalog. You have also learned how to specify catalog entries to go in the new sales catalogs.
In the next step, we will create the URL references needed to link the new catalogs to a store view.