Pages and page creation
In the Commerce Composer tool, a page is a specific URL on the storefront. We can create pages directly in the Commerce Composer tool.
Definition of a page
Think of a page as just a URL, with no content. The content of a page is defined by its layout. We can use the Commerce Composer tool to create new layouts for the page, or use the default layout for the page type.
When we are using the Commerce Composer tool, it is important that you understand this distinction between a page and its layout. Layouts are described in depth in Layouts, layout templates, and default layouts.
Types of pages
In the Commerce Composer tool, pages are organized in folders into two page types: catalog pages and content pages.
- Catalog pages
- The term catalog page refers to the following pages:
- Category pages (department pages, subcategory pages)
- Catalog entry pages:
- Product pages
- Bundle pages
- Kit pages
- Dynamic kit pages
- Predefined dynamic kit pages
- SKU pages
These pages are created automatically when adding new catalog entries and categories to the master and sales catalogs. For example, if you add a Furniture category, the store will automatically have a page URL for the Furniture category page. Therefore, in the Commerce Composer tool, you do not create catalog pages, but you do manage their layouts.
- Content pages
- The term content page refers to any page in the site that is not a catalog page but that your company manages in the Commerce Composer tool. The following are examples of content pages:
- Landing pages for a brand, category, or promotion
- Promotional pages, such as a Deal of the Day page
- Store information pages, for example, About Us, Contact Us, Return Policy
- Home page
- Site map page
Creating new content pages
To create a content page, provide a URL keyword to construct the page URL. We can also provide SEO data for the page, such as a page title, meta description, and meta keyword.
For example, to create a landing page to showcase products from your Hermitage brand, enter the following SEO URL information into the Commerce Composer tool:
As a result, a URL similar to this example is created for the store; notice that the URL keyword Hermitage-style is used at the end of the URL:
http://mystore/webapp/wcs/stores/servlet/en/aurora/Hermitage-style
When you initially view the new content page URL in store preview, the page is partially empty. The reason is that the page is using the default layout for content pages. To complete the page, create a new layout for the page by using a layout template and widgets.
Pages created in the Commerce Composer tool are viewable by all shoppers.
Important: Create a page only if you have appropriate widgets to build a layout for the page. In addition, the page to create:
- Must use a simple URL with no parameters.
- Cannot require any special coding by IT that is not already built into the widgets that you plan to use. For example, we cannot create an Order History page in the Commerce Composer tool, because this type of page requires special coding to pass shopper order history data into the page.
Integrating new pages into the site
After creating a page, we can give shoppers access to the page by using various methods:
Create a link to the new page from a widget on another page For example, if your new page promotes Valentine's Day truffles, we can add a widget to the home page that displays an ad. The ad can have a click action or image map that links to the truffles page. The WebSphere Commerce widget library provides two widgets with this type of linking capability:
- Content Recommendation widget (the link must be created as a click action in the marketing content)
- Links widget (the link can be included directly in the widget)
Link a search term to the new page For example, for the Hermitage brand landing page that is mentioned earlier in this topic, we can link the search term Hermitage to the new page using the Catalogs tool. As a result, when shoppers use the term Hermitage to search the site, the new page is displayed instead of the regular search results page. Add a link to the new page from the store header or footer You might need a store developer to add the link, unless the store has widgets for headers and footers. Add a link to the new page from an email template When you send customers email messages, we can include a link from the email to your new page.
These linking methods are primarily for content pages, but we can also apply them to catalog pages. However, since shoppers can access catalog pages through built-in browsing navigation, these additional methods are optional.
Related concepts
Layouts, layout templates, and default layouts
Widgets for Commerce Composer
Related tasks
Creating a content page
Copying a content page
Changing the SEO properties for categories and catalog entries
Changing the SEO properties for content pages