Assign Products to Slot Configuration Based on
Color.
In this scenario, you
configure the T-shirt (TS) product to appear in three color variations.
When you slice, the online variations products appear instead of the master product. You can show a different image for each variation of product, for example a coat in many colors.
To show the different images, make the attribute a slicing attribute.
- Select
site > Merchant Tools > Products and Catalogs
> Products, find the master 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 and you
must create it using the directions in Variation Master Products
for Scenarios.
- To lock the product for editing, click Lock.
- On the Product page General tab, click the Variations tab.
- On the Product page Variations tab, click the color variation
attribute to open it and select the Slicing Attribute. Click
Apply.
- To return to the Products page, click << Back .
- On the Product page General tab, for the Images field, click
Edit.
- Select
site > Merchant Tools > Search > Search
Indexes, then select the product index and click
Rebuild to rebuild the index.
Storefront Experience
- The shopper searches for keyword T-shirt.
- Salesforce B2C Commerce shows the search results page with three results, one for each
color.
- The shopper clicks T-shirt for the navy variation.
- The product detail page shows the navy variation with swatches for all other
colors.