Introduced in Feature Pack 3

Sample assets for the catalog programming model

The catalog programming model sample assets and directory structure are enabled with the WebSphere Commerce starter store enhancements feature.

Using the catalog programming model sample assets

Sample updated storefront JSP files are provided to aid in the understanding of how to use and customize the new storefront services. As the catalog programming model uses the WebSphere Commerce search framework, search-based navigation must be enabled in starter stores to use the SOA services.

To enable the catalog programming model sample assets and directory structure, you must perform the following tasks:
  1. Enabling starter store enhancements
  2. Publishing the Madisons enhancements store archive
  3. Enable Search-based navigation in the Madisons starter store
  4. Copy the sample JSP file assets into the Madisons starter store directory structure, replacing the existing files with the catalog programming model sample files.
    The sample JSP file assets are located in the following directory:
    • WebSphere Commerce DeveloperWCDE_installdir/components/store-enhancements/samples/SOACatalogStorefrontServices/stores

Sample JSP file assets

The sample JSP file assets and the usage of the assets are listed in the following table.
Note: The sample JSP file assets do not provide full storefront coverage. The JSP file assets do not contain sample assets for the following storefront locations for the Madisons and Elite starter stores:
  • Quick Info
  • Shopping Cart and Shopping Cart Flow
  • Mini-Shopping Cart
  • Bread Crumb Details
  • Order status and order details (in My account)
  • Gift registry
  • Requisition list (Elite only)
  • Saved orders (Elite only
JSP file asset usage
JSP file Usage
  • BundleDisplay.jsp
  • DynamicKitDisplay.jsp
  • ItemDisplay.jsp
  • PackageDisplay.jsp
  • ProductDisplay.jsp
These main product display JSP files call the new service using the IBM_Store_All access profile.
  • CompareProductsDisplay.jsp
  • CompareZoneContentDisplay.jsp
The product compare JSP files calls the new service using the IBM_Store_Details access profile.
CatalogAttachmentAssetsDisplay.jsp The attachment display JSP file uses the site map.
CatalogEntryAttachmentAssetsDisplay.jspf The JSP file calls the service using the IBM_Store_CatalogEntryAttachments access profile to return attachments for the product display attachments tab. The name, short description and long description displayed in the JSP file comes from the attachment target table (meta data) instead of the relationship table.
  • CachedBundleDisplay.jsp
  • CachedDynamicKitDisplay.jsp
  • CachedItemDisplay.jsp
  • CachedPackageDisplay.jsp
  • CachedProductOnlyDisplay.jsp
  • CatalogEntryThumbnailDisplay.jsp
The product display JSP files use the new noun passed in from the calling JSP file. These JSP files display all the main elements of the product display including price, merchandising, components, attachments and attributes on the product display page.
AttachmentImagesDisplay.jspf The JSPF file adds angle view images to the product display JSP files.
MerchandisingAssociationsDisplay.jsp The merchandising display JSP file uses the new service noun passed in from the calling JSP file. This JSP file displays merchandising information on the product display page.
CatalogEntryPriceDisplay.jspf The price display JSPF file uses the new service noun passed in from the calling JSP file. This JSP file displays pricing information on the product display page.
  • B2BCatentryContractSelectExt.jspf
  • B2BCatentryContractSelect.js
The contract price JSP files use the new service noun passed in from the calling JSP file to display contract information in the Elite starter store. These files display contract and pricing information on the product display page.
  • DiscountDetailsDisplay.jsp
  • CatalogEntryThumbnailDisplay.jsp
  • PromotionChoiceOfFreeGiftsPopupContent.jsp
  • CatalogEntryDBThumbnailDisplay.jspf
  • StoreLocator.jsp
These JSP files use the new service noun to display information on the starter store pages.

Store functions

The following store functions use the Catalog programming model services:
  • Search Engine Optimization (SEO)
  • Dynamic kit integration with Sterling Configurator