Intershop Commerce Management allows to maintain variation products. This is often used for "Size" and "Color" options of one product which apart from this does not differ much. However, any kind of custom attribute can be used as variation attribute.
This concept gives an overview of the ideas and features of variation products.
The target group is mainly the Product Content Editor.
Name | Description |
---|---|
Product | An item that is sold in the online shop. |
Variation Product | A product that is offered in multiple variants that share most of their attribute values, but differ at some of them. A variation product describes one specific combination of variation attributes, e.g., T-Shirt, color: blue, size: M. A variation product can be purchased. |
Variation Master | A virtual/abstract grouping of variation products, without variation attribute values, e.g., T-Shirt. Cannot be purchased, has no own price - but can be used for displaying purposes. |
Product variations can be displayed differently in the storefront, depending on the products sold in the shop as well as on the business model (B2C or B2B). This concept presents the most common ways and explains how to make the correct configuration in the Intershop Commerce Management.
If the products differ visually (e.g., different colors) and the number of variations is low, it is recommended to show product variations in the shop.
On family and search pages, the default variation is shown. In case filters in the filter navigation are used, a suitable variation (e.g., of the selected color) is shown.
Clicking on such a product shows the product details page for exactly this product, with the option to switch to the other variations.
Page | Details | Screenshot |
---|---|---|
Family Page (also applies to search results page) | On family and search pages the default variation of a variation master is shown. Controls (color swatches or drop downs) below the product indicate that this product is also available in different versions. The controls can be used to switch between the different options, without leaving the page. | |
Family Page - filtered (also applies to search results page) | If a filter is set, another - better fitting - variation is shown. This is usually the desired behavior for products with different colors, e.g., clothes. | |
Product Details Page | Clicking on a product variation on a family or search page leads to the details page for this exact variation. The controls allow to switch between the different variations. |
Go to <Channel Name> | Preferences | Product Variations.
Deselect the checkbox for List View.
Click Apply.
Info
For this configuration it is sufficient to assign the variation master to categories. The product variations are automatically indexed with the master product.
See Index Variation Products and Index Variation Products (Alternative).
In some cases it is necessary to list all variation products separately in the shop.
On family and search pages, all variations are shown. In case filters in the filter navigation are used, all suitable variations (e.g., of the selected color) are shown.
Clicking on such a product shows the product details page for exactly this product with the option to switch to the other variations.
Page | Details | Screenshot |
---|---|---|
Family Page (also applies to search results page) | On family and search pages, all variations of a variation master are shown. Controls (color swatches or drop downs) below the product indicate that this product is also available in different versions. The controls can be used to switch between the different options, without leaving the page. | |
Family Page - filtered (also applies to search results page) | If filters are set, all matching variations are shown. | |
Product Details Page | Clicking on a product variation on a family or search page leads to the details page for this exact variation. The controls allow to switch between the different variations. |
Add a boolean
custom attribute ExcludeFromSearchIndex
with the value true
to the product.
For large numbers of variations (several hundred for one master) and/or multiple variation attributes there is an alternative view. Here the product master is shown on family and search pages.
Clicking on the product leads to a product details page for the master with an advanced filter panel which allows further drill down to identify the desired variation.
Page | Details | Screenshot |
---|---|---|
Family Page (also applies to search results page) | The master product is shown with
| |
Family Page - filtered (also applies to search results page) | When one or multiple filters are set, the master is still shown. Example: "Color: red" is set, the master shows a black product. The number of matching variations is displayed under the price range. | |
Product Details Page - Master | The basic idea is to enable a Product Master Detail Page to work like a Family Page. The product details page shows information on the master product (name, ID, descriptions etc.). The Quantity field and Add to Cart button are missing as the master itself is not an orderable product. Below follows a complete list of all variations of this master product with a filter panel and a pagination function. The view can be switched between "Tile" and "List" view and the sorting order can be changed. Filters can be used to find the one variation which then can be purchased. When a filter was set on the family page, it is already set on the variation master page, too (if the filter was intended for a variation attribute). The variation products can be added to the cart directly from the list, or the product details page can be opened to get more information. | |
Product Details Page - Variation | Clicking on a product from the variation master page opens a regular product details page for this exact variation. Switch back to the Product Details Page - Master by using the Choose Another Variation link. |
Go to <Channel Name> | Preferences | Product Variations.
Select the checkbox for List View.
Click Apply.
Check if the attribute GroupMasterUUID
is listed in indexed attributes. If it is missing, add it.
If MasterUUID and isMastered are indexed attributes, please remove them.
If you are not using GroupMasterUUID, the same behavior can be achieved if you remove GroupMasterUUID and add MasterUUID and isMastered as indexed attributes.
Attribute ID - make sure that the Attribute ID is the same as used in the custom attributes section of the product details.
The configuration of the Product Master Detail Page is located in the Product Detail component template (cmp_tmp_productDetail
) that can be found in Content | Component Templates. Different product views - List and Tile can be selected and the sorting can be configured as shown in the following picture.
Info
For this configuration it is sufficient to assign the variation master to categories. The category assignments of the master product are indexed by default - so all variation products are found, even if not categorized.
If you want to change this behavior, please see Index Variation Products (Alternative). In this case make sure that the variation products are assigned to the respective categories.
In order to properly migrate the Product Variations feature from earlier ICM versions to ICM 7.9, the preference to enable/disable the list view for product variations (EnableAdvancedVariationHandling) is needed. A new file migration-to-7.9.0.0.properties was added in the app_sf_responsive cartridge. After executing the standard command dbmigrate
, the preference will be available in the database.
If the variation list is not visible on the variation master page:
GroupMasterUUID.
GroupMasterUUID.
The information provided in the Knowledge Base may not be applicable to all systems and situations. Intershop Communications will not be liable to any party for any direct or indirect damages resulting from the use of the Customer Support section of the Intershop Corporate Web site, including, without limitation, any lost profits, business interruption, loss of programs or other data on your information handling system.