Scenario 4

Show Swatches in One Category and Sliced Variations in Another Category.

In this scenario, you configure the T-shirt (TS) product to show a single image with swatches in the sale category and search results. In addition, sliced variations show in the Women's Tops category. The search results determine slicing from the default on the Product page Variations tab. The sale category uses the default, while the Women's Top category overrides the default to allow slicing.

This scenario uses the color variation attribute that is set as the slicing attribute at the catalog level. This scenario assumes that all variation values are available, so if you worked through scenario 3, undo any changes you made on the Variation Values tab.

  1. Select site > Merchant Tools > Products and Catalogs > Products, find the base product you want to merchandise. To open the product, click the product ID. For this scenario, search for T-shirt. This product isn't part of SiteGenesis data: create it using the directions in the Variation Base Products for Scenarios.
  2. To open the Product page and click the Variations tab, click the base product ID.
  3. On the Product page Variations tab, for the color variation attribute, make sure that Slicing isn't selected. If slicing is deselected, the default behavior is that there is no slicing. You can overwrite the default for the category where you want to show sliced variations.
  4. Click Back.
  5. On the Product page Categories tab, click Edit Categories.
  6. On the Assign to Categories page, expand hidden > sale, select sale-womens, and click Apply. Clicking apply assigns the product to the sale category and returns you to the previous page.
  7. For the storefront-catalog-en catalog womens-clothing-tops category, click Details.
    Note: Clicking the category name doesn't bring you to the correct page.
  8. On the Product Category Details page, click the Variation Values tab.
  9. On the Variation Attribute Values tab, for the color variation attribute, deselect Use Default.
  10. For the Slicing Attribute list, select Yes.
  11. Click Apply.
  12. Select site > Merchant Tools > Search > Search Indexes, then select the product index and click Rebuild to rebuild the index.

Storefront Experience

  1. The customer searches for keyword T-shirt.
  2. The storefront shows the search results page with one result from the Women's Tops category with the base product image shown and swatches.
  3. The customer navigates to the Women's Tops category.
  4. The storefront shows all the variations as slices.
  5. The customer navigates to the Women's Sale category.
  6. The storefront shows a single image with a swatch.
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.