Feature Pack 8: The Madisons store is deprecated. Most features demonstrated in the Madisons store are available in the Aurora store.

Starter store directory structure

Starter store files are organized by default in a defined directory structure.

The directory structure used in the examples represent a server environment. For development environments, the equivalent directory structure applies: for example, WC_eardir\Stores.war\storedir. The following directory structure exists when your store is published:

WC_eardir/Stores.war/storedir/css
Contains the CSS files for the store using the following naming conventions:
  • commonX_Y.css
    The main CSS file used for all locales, excluding the locale-specific CSS files, for example common1_1ja_JP.css.
    Where:
    • X is the style number, starting from 1, mapped to the number of styles available in WebSphere Commerce Accelerator's Change Style. 
    • Y is the color number, starting from 1, mapped to the number of colors available in WebSphere Commerce Accelerator's Change Style. 
WC_eardir/Stores.war/storedir/images/
Contains common store icons and images.
WC_eardir/Stores.war/storedir/images/advertisements
Contains all the images for store advertisements. Most of the advertisement images are a content file asset found in WebSphere Commerce Accelerator or Management Center.
WC_eardir/Stores.war/storedir/images/attachments
Contains file assets attachments that are linked to a product.
WC_eardir/Stores.war/storedir/images/catalog
Contains catalog, category, and product images.
WC_eardir/Stores.war/storedir/images/colors/colorY
Contains images that are style and color dependant when customizing the layout and presentation of the store. For example, the border colors of an image are modified to remain consistent with a change in the store's color scheme.
Where:
  • Y is the color number, starting from 1, mapped to the number of colors available in WebSphere Commerce Accelerator's Change Style. 
WC_eardir/Stores.war/storedir/include
Contains JSP files and JSP file fragments according to the following usage:
  • Files containing JSTL constants.
  • Files containing repetitive code that is included in all pages.
  • Files that are used by JSP files in the include/styles/style1 directory, common to all styles.
WC_eardir/Stores.war/storedir/include/styles/styleX
Contains JSP files that define the entire frame surrounding the content pages of the store.
Where:
  • X is the style number, starting from 1, mapped to the number of styles available in WebSphere Commerce Accelerator's Change Style. 
The set of defined files are:
  • CachedHeaderDisplay.jsp
  • CachedLeftSidebarDisplay.jsp
  • CachedRightSidebarDispay.jsp
  • CachedFooterDisplay.jsp
WC_eardir/Stores.war/storedir/javascript
Contains JavaScript files used in the store.
WC_eardir/Stores.war/storedir/Messages
Contains JSP files used to compose e-mail messages sent to customers. These JSP files create HTML e-mail messages, therefore, ensure the message types are set up accordingly in the Administration Console.
The provided messages include:
Message types and associated JSP files
Message type JSP file
Notification message for password reset. PasswordNotify.jsp
Notification message for a canceled order. OrderCanceledNotify.jsp
Message for a received order. OrderReceivedNotify.jsp
Message for notifying the customer of an order release manifestation. ReleaseShipNotify.jsp
Message that shows the interest item list of the customer. InterestItemListNotify.jsp
WC_eardir/Stores.war/storedir/ShoppingArea/CatalogSection
Contains the full-page JSP files that render the store pages contained in the catalog browsing flow.
WC_eardir/Stores.war/storedir/ShoppingArea/CheckoutSection
Contains the full-page JSP files that render the store pages contained in the checkout flow.
WC_eardir/Stores.war/storedir/StoreInfoArea
Contains the full-page JSP files that render the store information pages, for example, the Help/Contact Us page.
WC_eardir/Stores.war/storedir/Snippets
Contains JSP files and JSP file fragments that are reused in the full-page store JSP files. The JSP file snippets are created to keep code modular and to render specific features of WebSphere Commerce. It contains JSP files, for example, that render:
  • The contents of an e-Marketing Spot.
  • An address form.
  • A promotion code.
Files in this directory can be included in store pages that want to use these features.
WC_eardir/Stores.war/storedir/UserArea
Contains the full-page JSP files that display the store's My Account section, Sign in, Registration, and Password Reset pages.
WC_eardir/Stores.war/storedir/
Contains error JSP files used in the store.
WC_eardir/Stores.war/storedir/StoreLocatorArea
Contains JSP fragments for the store locator.