---
schema_version: "1"
id: 9f9495e6c614e5a9b44bc0bfb01e63f6c1002c97ded64471c9952f3e7e376ca1
title: Maintain Columns in Manage Products Card
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/add_columns_to_the_product_grid.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.add_columns_to_the_product_grid.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 144ec3cc302ff21c2d11a2d949e5ecd1f0f8123e79114f8c1e8b3d14c0306396
description: Add or remove columns from the Manage Products Grid.
products:
  - Consumer Goods
release: "264"
---
# Maintain Columns in Manage Products Card

Add or remove columns from the Manage Products Grid.

### Required Editions

You can configure these Lightning web components:

- Promotion Card - Products
- Trade Planning

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition">
        <colgroup>
          <col>
        </colgroup>
        <tbody>
          <tr class="">
            <td class="slds-cell-wrap" style="vertical-align:top;">
              <p>Available in: Lightning Experience</p>
              <p style="margin-bottom:0;">Available in: <strong>Enterprise</strong> and <strong>Unlimited</strong> Editions where Consumer Goods
                Cloud is enabled</p>
            </td>

          </tr>
        </tbody>
      </table>

1. From Setup, go to Object Manager, and then find and select **Product**.
2. Click **Field Sets**, and then go to or create the ProductDescriptionFields field set.
    
    - If you want this new field in all sales orgs, use the cgcloud\_ProductDescriptionFields field set.
    - If you want this new field in a specific sales org, use the ProductDescriptionFields\_<sales org name> field set.
3. Add the new field to the field set.
    
    Ensure that the field is a direct Product2 field. You can’t add any lookup traversals.
4. In Lightning Page Builder, on the component instance, modify the Products Grid Configuration design property.
    
    This property is a JSON object that defines the product attributes that are shown when the grid is rendered. The format is:
    
    ```
    [ // An array of objects
      {
        "column": {  // Each record is an object with a "column" definition
           "source": [  // The list of fields that create the column. 
                        // The values of the fields will be concatenated
                        // Fields must be present in the "ProductDescription" fieldset.
            "Consumer_Goods_Product_Code"  // Field names are specified 
                                           // without namespace and withouth the
                                           // trailing "__c" 
          ],
          "headStyle": { // Column Header style
            "width": "5%", // Width. Sum of all width of columns must not exceed 100%
            "textAlign": "center" // Text Alignment.
                                  // Possible values are: center, left, right, justify
          },
          "cellStyle": { // Value cell style
            "textAlign": "center"// Text Alignment.
                                 // Possible values are: center, left, right, justify
          },
          "metadata": { // Only used if you want to display an icon instead 
                        // of a text value. Do not set this property otherwise
            "type": "icon", 
            "icon": "check" // SLDS icon name
          },
          "sorting": { // Sorting configuration. Optional
            "summary": { // Summary grid. Displayed on the card.
              "ascending": true, // If the default sort is ascending or descending
              "active": false, // if the grid is sorted by this column by default
              "sortable": true // if the column is sortable (click to sort)
            },
            "fixed": { // Fixed products grid. Displayed on "Add Fixed Products"
              "ascending": true,
              "active": false,
              "sortable": true
            },
            "dynamic": { // Dynamic grid, displayed on "Manage Products"
              "ascending": true,
              "active": false,
              "sortable": true
            },
            "search": { // Search grid, displayed when searching products by field
              "ascending": true,
              "active": false,
              "sortable": true
            }
          }
        }
      }
    ]
    ```
    
    Ensure that the specified structure complies with these limitations:
    
    - Product2 fields specified as the source are set without namespace for cgcloud manage package fields.
    - Product2 fields specified as the source are set without the trailing \_\_c of the field name.
    - Product2 fields are direct Product2 field values as no lookup traversals are supported. For example, you can’t add MyLookup\_\_r.MyField\_\_c.
    - The sum of the widths of all columns is 100%.
    - The metadata attribute is specified only to show a column value as an icon. To see the icons included in Salesforce Lightning Design System, see [SLDS icons](https://www.lightningdesignsystem.com/icons/).
    - The sorting attribute is optional. A column can’t be sorted if this value isn’t specified.
    
    Different views on the Manage Products grid can have different sorting configurations. To show multiple component instances conditionally based on User or Record fields, use the Lightning Page Builder Component Visibility Filter feature.