ProductDisplay command

This command displays a catalog entry, which consists of a single item or all the items contained within a product, package or bundle.

Command structure

http://host_name/path/
The fully qualified name of your WebSphere Commerce Server and the configuration path.

Diagram of the command structure: the command starts with the fully qualified name of your WebSphere Commerce Server and the configuration path, followed by the command name, ProductDisplay  and the ? character. End the command with a list of parameters in the form of name value pairs. Separate each name value pair with the & character. For a detailed description of the parameters and their values, refer to 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 catalog entry to be displayed.
productId
(Required) The reference number for the catalog entry (item, product, package, or bundle) that is to be displayed. You must specify either productId or partNumber.
partNumber
(Required) The store's unique identifier (or code) for the catalog entry that is to be displayed. You must specify either partNumber or productId.
memberId
The reference number of the member who owns the catalog entry. The memberId, along with the partNumber, uniquely identifies the catalog entry. If the memberId is omitted, then the owner of the current store and the partNumber are used to uniquely identify the catalog entry.

Example 1

This example displays information about the catalog entry with reference number 123 from the store with reference number 1:

http://host_name/webapp/wcs/stores/servlet/ProductDisplay?
productId=123&storeId=1

Example 2

This example displays information about the product with a part number SKU555:

http://host_name/webapp/wcs/stores/servlet/ProductDisplay?
partNumber=SKU555&storeId=1

Example 3

This example displays information about the product with part number 2 that belongs to the store that is owned by the member whose ID is 888:

http://host_name/webapp/wcs/stores/servlet/ProductDisplay?
partNumber=2&storeId=1&memberId=888

Behavior

Exception Conditions

None.