Reference > Shop flow URLs > Catalog subsystem URLs > Catalog entries
ProductDisplay URL
This URL displays a catalog entry, which consists of a single item or all the items contained within a product, package or bundle.
URL structure
- http:// host_name/path/
- The fully qualified name of the WebSphere Commerce Server and the configuration path.
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 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
- The product to be displayed can be uniquely identified from the following:
- The productId parameter
- The partNumber and the memberId parameters
- If the partNumber parameter is supplied without the memberId parameter, then the memberId parameter will be inferred as the member that owns the store specified by the storeId parameter.
- Ensures that the catalog entry to be displayed is not a member of a product set that has been excluded from the current user's contract.
- Ensures that the catalog entry to be displayed has been published in the current language.
- Sets the ProductDisplayView view task to display the catalog entry page for the specified store and member groups that the customer belongs to.
- Maps to the ProductDisplayCmd interface.
Exception Conditions
None.
Related concepts
Related reference