You are here:
Customize the Assortment Page
The Products grid of a product assortment shows the products included in the assortment. Based on your requirement, you can customize the grid—add columns, change the order of the columns, and configure search criterion.
Fields from the TPMAssortmentGridFields field set appear in the Product grid. To see information that can’t be displayed using existing fields of the Product or Assortment Product objects, create fields for these objects. For generic product information, create fields in the Product object. For assortment-related information, create fields in the Assortment Product object.
To add the Special Price column to the grid, add the Special Price field to the TPMAssortmentGridFields field set of the Assortment Products object. To overwrite the default characteristics of the Special Price column, use the custom metadata settings. In the custom metadata settings, if the sort value is specified as 6, the Special Price column is displayed in the fifth position of the grid, between Active and Category columns.
By default, the Category column also has sort value 6, and is the fifth column before the Special Price column is added. Because the system doesn’t override the sort value, the Special Price column appears in the fifth position, and the Category column becomes the sixth column. To make the Special Price column as the sixth column and the Category column as the fifth column, define a new custom metadata for the Category column with sort value as 5.
You can also change the number of products shown in the Product Grid of an assortment and add a Visualforce page to add products to an assortment.
- Customize the Product Grid
Based on your requirement, you can customize the product grid—add columns, change the order of the columns, and configure search criterion. - Customize the Number of Products in the Product Grid
The number of products that appear in the Products grid for an assortment depends on the value you select in the Records per page list. The default value is 25. You can customize the values that appear in the list. - Customize the Product Assortments Lightning Page
To customize the planning assortment list, create a Visualforce (VF) page. This page appears when products are added to a planning assortment list. Add the VF page to the Product Assortments Lightning page.

