---
schema_version: "1"
id: c54051eb0489beb562893d744e19da12cc2e75e9771f411695e1d43c362712ba
title: cpq-promotions-list (layout)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_cpq_promotions_list__layout_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_cpq_promotions_list__layout_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: b80ae77c2c86045b1f242a56e6e795c96ed1bea0db6d812bfa021ce6f720d087
description: The cpq-promotions-list layout renders the Promotions list in Industries Cart.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# cpq-promotions-list (layout)

The cpq-promotions-list layout renders the Promotions list in Industries Cart.

In ​Salesforce Industries Communications, Media, and Energy Summer '18 and later releases, localeCode is passed as a parameter to the data source for multi-language support.

**Template**

[cpq-promotions-list (template)](https://help.salesforce.com/s/articleView?id=ind.comms_cpq_promotions_list__template_.htm&release=264.0.0&type=5 "The cpq-promotions-list template provides the structure for the Promotions list in Industries Cart.")

**Layout Session Variables**

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d401407e57">
            <p style="margin-bottom:0;">Name</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d401407e63">
            <p style="margin-bottom:0;">Value</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e57 ">
            <p style="margin-bottom:0;">totalSize</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e63 ">
            <p style="margin-bottom:0;">payload.totalSize</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Name" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e57 ">
            <p style="margin-bottom:0;">nextPromotion</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e63 ">
            <p style="margin-bottom:0;">payload.actions.nextpromotions</p>
          </td>

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

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getCartsPromotions
```

**Input map**

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
      <colgroup>
        <col>
        <col>
      </colgroup>
      <thead class="slds-text-title_caps ">
        <tr class="">
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d401407e151">
            <p style="margin-bottom:0;">Input Map Variable</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d401407e157">
            <p style="margin-bottom:0;">Value</p>
          </th>
        </tr>
      </thead>
      <tbody>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e151 ">
            <p style="margin-bottom:0;">cartId</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e157 ">
            <p style="margin-bottom:0;">{{params.id}}</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e151 ">
            <p style="margin-bottom:0;">includeIneligible</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e157 ">
            <p style="margin-bottom:0;">{{attrs.includeIneligible}}</p>
          </td>

        </tr>
        <tr class="">
          <td data-label="Input Map Variable" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e151 ">
            <p style="margin-bottom:0;">localeCode</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d401407e157 ">
            <p style="margin-bottom:0;">{{attrs.cpqUserLocale}}</p>
          </td>

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

**Result JSON Path**

```
records
```

**REST API Information**

```
GET /services/apexrest/{namespace}/v2/cpq/carts/{{params.id}}/promotions?includeIneligible={{attrs.includeIneligible}}
```

**Cards**

[cpq-promotion-item (card)](https://help.salesforce.com/s/articleView?id=ind.comms_cpq_promotion_item__card_.htm&release=264.0.0&type=5 "The cpq-promotion-item card renders each individual promotion line item in Industries Cart.")

**Image**

![The Promotions tab with five Disqualified promotions listed.](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-comms_media_energy_managed-264-0-0-production-enus/ff4079f6-a384-475c-b863-578bbbb0ef9b/resources-product/images/salesforce_cart_promotionslist.jpg)