Aurora starter store directory structure

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

The directory structure that is used in the examples represents a server environment. For development environments, the equivalent directory structure applies, for example:

WCDE_installdir/workspace/Stores/WebContent/

The following directory structure exists when your store is published:

WC_eardir/Stores.war/storedir/css
Contains the CSS files for the store that uses the following naming conventions:
  • commonX_Y.css
    The main CSS file that is 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 the Styles tab of the Store Management section in Management Center.
    • Y is the color number, starting from 1, mapped to the number of colors available in the Styles tab of the Store Management section in Management Center.
WC_eardir/Stores.war/storedir/Common/
Contains the common JSP file fragments that can be reused across the store. For example, progress bar, environment variables, and JSTL constants.
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 that is 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 the Styles tab of Store Management in Management Center.
WC_eardir/Stores.war/storedir/include
Contains JSP files and JSP file fragments containing repetitive code that is included in all pages.
WC_eardir/Stores.war/storedir/javascript
Contains JavaScript files that are used in the store.
WC_eardir/Stores.war/storedir/EmailTemplates
Contains JSP files that are used to compose email messages sent to customers. These JSP files create HTML email messages, therefore, ensure that the message types are set up in the Administration Console.
The provided messages include the following information:
Message types and associated JSP files
Message type JSP file
Notification message for password reset. PasswordResetNotify.jsp
Notification message for a canceled order. OrderCanceledNotify.jsp
Message for a received order. OrderCreateNotify.jsp
Message for notifying the customer of an order release manifestation. OrderShipmentNotify.jsp
Message that shows the interest item list of the customer. WishlistCreateNotify.jsp
Notification message for user account activation. AccountActivationNotify.jsp
WC_eardir/Stores.war/storedir/ShoppingArea/CheckoutSection
Contains the full-page JSP files that render the store pages that are 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 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. The folder contains JSP files, for example, that render:
  • 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 My Account section, Sign in, Registration, and Password Reset pages of the store.
WC_eardir/Stores.war/storedir/
Contains error JSP files that are used in the store.
WC_eardir/Stores.war/storedir/StoreLocatorArea
Contains JSP fragments for the store locator.
WC_eardir/Stores.war/storedir/LandingPages
Contains the JSP files that are used to display the unique search landing pages in the store.
WC_eardir/Stores.war/storedir/Layouts
Contains the JSP files that are used to display different layouts in the store.
WC_eardir/Stores.war/storedir/StaticContent
Contains a JSP file that acts a placeholder for displaying static HTML content in the store.
WC_eardir/Stores.war/storedir/Widgets
Contains the JSP files that are used to display widgets that do not use the Commerce Composer framework.
WC_eardir/Stores.war/Widgets_701
Contains the JSP files that are used to display site-level widgets that use the Commerce Composer framework.