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

The cpq-cart-promotions layout renders the list of applied promotions in the cart.

![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

In Vlocity CMT Summer '17, Major release, Version 100.0.900.60, the layout is cpq-cart-applied-promotions-view. In Vlocity CMT Summer '17, Minor release, 100.1.900.72-73 and later, the layout is cpq-cart-promotions.

**Template**

[cpq-cart-promotions (template)](https://help.salesforce.com/s/articleView?id=ind.comms_cpq_cart_promotions__template_.htm&release=264.0.0&type=5 "The cpq-cart-promotions template retrieves the list of applied promotions in the cart.")

**Layout Session Variables**

None

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getPromotionsAppliedToCart
```

**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="d354483e98">
            <p style="margin-bottom:0;">Input Map Variable</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d354483e104">
            <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="d354483e98 ">
            <p style="margin-bottom:0;">cartId</p>
          </td>

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d354483e104 ">
            <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="d354483e98 ">
            <p style="margin-bottom:0;">pagesize</p>
          </td>

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

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

**Result JSON Path**

```
records
```

**REST API Information**

Get Promotions Applied to Cart

```
GET /services/apexrest/vlocity_cmt/v2/cpq/carts/{{params.id}}/promotions?subaction=getPromotionsAppliedToCart&pagesize=10
```

**Cards**

[cpq-cart-promotions (card)](https://help.salesforce.com/s/articleView?id=ind.comms_cpq_cart_promotions__card_.htm&release=264.0.0&type=5 "The cpq-cart-promotions card renders each individual applied promotion in the cart.")

**Image**

![On the Promotions tab, three promotions are listed in table form.](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_promotions.jpg)