Reference > Shop flow URLs > Catalog subsystem URLs > Categories


CategoryDisplay URL

This URL displays a category within a catalog.


URL structure

http:// host_name/path/

The fully qualified name of the WebSphere Commerce Server and the configuration path.

Diagram of the URL structure: The URL starts with the fully qualified name of the WebSphere Commerce Server and the configuration path, followed by the URL name, CategoryDisplay , and the ? character. End the URL with a list of parameters in the form of name-value pairs. Separate each <a href=name-value pair with the & character. For a detailed description of the parameters and their values, see the list entitled Parameter values." />


Parameter values

langId

Sets or resets the preferred language for the duration of the session. The supported languages for a store are found in the STORELANG table.

storeId

The store's reference number associated with the category being displayed.

catalogId

Required: The reference number of the catalog in which the category exists. You must specify either catalogId or catalogIdentifier.

catalogIdentifier

Required: The external identifier for the catalog. You must specify either catalogIdentifier or catalogId.

catalogMemberId

The reference number of the member who owns the catalog.

categoryId

The unique reference number of the category to be displayed.

identifier

The external identifier for the category.

memberId

The reference number of the member who owns the category. The memberId along with the identifier uniquely identify the category. If a memberId is omitted, then the owner of the current store along with the identifier are used to uniquely identify the category.


Example 1

This example displays information about the category with reference number 16, contained in catalog 1, which is being displayed in the store 1:

http://host_name/webapp/wcs/stores/servlet/CategoryDisplay?
categoryId=16&catalogId=1&storeId=1


Example 2

This example displays information about the category Hardware, contained in catalog 1:

http://host_name/webapp/wcs/stores/servlet/CategoryDisplay?
identifier=Hardware&catalogId=1&storeId=1


Example 3

This example displays information about the category Hardware from a catalog that is associated with the store that is owned by the member whose ID is 888.

http://host_name/webapp/wcs/stores/servlet/CategoryDisplay?
catalogId=1&identifier=Hardware&memberId=888&storeId=1 


Example 4

This example displays a catalog group page only to a registered customer in the correct member group. In this case it is customer s11001 in member group 1100.

http://host_name/webapp/wcs/stores/servlet/Logon?logonId=s11001
&logonPassword=s11001&storeId=32&URL=FVTStore32.jsp

http://host_name/webapp/wcs/stores/servlet/CategoryDisplay?
catalogId=326000&storeId=32&categoryId=326100&langId=-1


Behavior


Exception Conditions

None.


Related concepts

Catalog subsystem

Related reference

TopCategoriesDisplay URL

StoreCatalogDisplay URL

Catalog subsystem URLs


+

Search Tips   |   Advanced Search