---
schema_version: "1"
id: 04c2115bf2900a3eae3de0c8752907bec7dd6ad833e403de9df6fed15fd4e562
title: Additional Line Item Fields
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/coms_additional_line_item_fields.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.coms_additional_line_item_fields.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 039b9e4d921b4d2891c3a4f7ee2f3838987c0e4880225b4cf154f0a7caa41667
description: The Additional Line Item Fields customization in Industries CPQ (Configure, Price, Quote) adds fields to the Products in Cart section, providing sales representatives with detailed product information for a more informative cart view.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# Additional Line Item Fields

The Additional Line Item Fields customization in Industries CPQ (Configure, Price, Quote) adds fields to the Products in Cart section, providing sales representatives with detailed product information for a more informative cart view.

In Industries CPQ, the Products in Cart section typically displays core information such as product name, quantity, and price. Using the `additionalCustomJson` parameter, you can configure additional fields to meet specific business needs, such as lifecycle status or billing account name. These fields provide valuable context for sales representatives during the configuration process.

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)

Note

Salesforce recommends a maximum of seven columns in the cart, including pricing-related columns, for optimal usability.

We now support the optional fields type and formatter to provide greater control over data display. The type field can be defined as date, datetime, number, or text, while the formatter field accepts either percent or currency. Additionally, the percent formatter is applicable only when the type is set to a number.

JSON Structure for Adding Custom Fields

`"lineItemCustomFields": [   {    "label": "Effective One Time Total",    "field": "vlocity_cpq9__EffectiveOneTimeTotal__c.value",    "type": "number",    "formatter": "currency"   },   {    "label": "Recurring Manual Discount",    "field": "vlocity_cpq9__RecurringManualDiscount__c.value",    "type": "number",    "formatter": "percent"   },   {    "label": "Reference Time",    "field": "vlocity_cpq9__CatalogItemReferenceDateTime__c.value",    "type": "datetime"   }  ]`

Use the above JSON structure to define additional fields. Each entry in the `lineItemCustomFields` array represents a single field.

Key Components of the JSON Structure

- lineItemCustomFields: An array containing definitions for each additional field.
- label: The display name of the field, visible as the column header in the cart.
- field: The API path to the data field in the line item JSON structure.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_example.png)

Example

- `Product2.vlocity_cmt__LifecycleStatus__c` displays the Lifecycle Status of the product.
- `vlocity_cmt__BillingAccountId__r.Name` displays the name of the related Billing Account.

## JSON Fields

First Field

`{  "label": "Field Label 1",  "field": "Product2.vlocity_cmt__LifecycleStatus__c" }`

- label: Field Label 1 could be replaced with a user-friendly name like Lifecycle Status.
- field: `"Product2.vlocity_cmt__LifecycleStatus__c"` retrieves the Lifecycle Status for each product.

Second Field

`{  "label": "Field Label 2",  "field": "vlocity_cmt__BillingAccountId__r.Name" }`

- label: Field Label 2 could represent Billing Account Name.
- field: `"vlocity_cmt__BillingAccountId__r.Name"` retrieves the Billing Account Name.
    
    ![Adding additional line item fields to the Products in Cart section in Standard CPQ using a JSON structure](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/comms_media_energy_managed/images/apply_cust_two.png)

![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/images/icon_note.png)

Note The Products in cart UI supports a maximum of seven columns for usability. Ensure field paths align with the Salesforce data structure and use correct API names.