Thursday, January 5, 2012

ATG Product Catalog Structure


The product catalog in ATG Store is implemented using a catalog item whose catalog ID is masterCatalog. This catalog item has two root categories, NonNavigableProducts and rootCategory. NonNavigableProducts contains products that are not part of the catalog’s navigational hierarchy (such as Gift Wrap). Searches are constrained to return only products whose root category is rootCategory.

Commerce Reference Store adds a rootNavigationCategory custom property to the catalog item type to specify the top of the navigational hierarchy. The rootNavigationCategory property of masterCatalog is set to rootCategory. This category corresponds to the home page of the site and holds the main site categories such as Footwear and Home Store.

The high-level structure of the catalog looks like this:



Note that this figure shows the display names of the categories. The display name for the rootCategory item is Commerce Root.

The /navigation/gadgets/catalog.jsp gadget creates a menu bar (displayed at the top of most pages) whose top-level entries are the child categories of Commerce Root:





Hovering the cursor over an entry displays a menu of its subcategories, and a list of featured items in the category:




No comments:

Popular Posts