---
schema_version: "1"
id: 33b6317b6c27029843d98d2958c7ef5c2c97e3dedb8918737b0a3062e0221eaa
title: comp-cart-review (layout)
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/comms_comp_cart_review__layout_.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.comms_comp_cart_review__layout_.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 0678f32393ab44d643dd654a675294342e651b8679cc4c94f30063ab3b084799
description: The comp-cart-review layout provides the structure for the main panel of the Review Cart Visualforce page.
products:
  - Communications
  - Media
  - Energy and Utilities
release: "264"
---
# comp-cart-review (layout)

The comp-cart-review layout provides the structure for the main panel of the Review Cart Visualforce page.

In ​Salesforce Industries Communications, Media, and Energy Summer '18, comp-cart-review has been changed. The comp-assets-product-item card has been renamed comp-cart-review-product-item.

**Template**

[comp-cart-review (template)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_cart_review__template_.htm&release=264.0.0&type=5 "The comp-cart-review template provides the space for the main panel of the Review Cart Visualforce page.")

**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="d318248e57">
            <p style="margin-bottom:0;">Name</p>
          </th>
          <th scope="col" class="slds-cell-wrap" style="vertical-align:top;" id="d318248e63">
            <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="d318248e57 ">
            <p style="margin-bottom:0;">totalSize</p>
          </td>

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

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

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

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

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

**Data Source**

Dual

**Remote Class**

```
CpqAppHandler
```

**Remote Method**

```
getCartsItems
```

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

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

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

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d318248e172 ">
            <p style="margin-bottom:0;">vlocity_cmt__BillingAccountId__c,vlocity_cmt__ServiceAccountId__c,Quantity,vlocity_cmt__RecurringTotal__c,vlocity_cmt__OneTimeTotal__c,vlocity_cmt__OneTimeManualDiscount__c,vlocity_cmt__RecurringManualDiscount__c,vlocity_cmt__ProvisioningStatus__c,vlocity_cmt__RecurringCharge__c,vlocity_cmt__OneTimeCharge__c,ListPrice,vlocity_cmt__ParentItemId__c,vlocity_cmt__BillingAccountId__r.Name,vlocity_cmt__ServiceAccountId__r.Name,vlocity_cmt__PremisesId__r.Name,vlocity_cmt__InCartQuantityMap__c</p>
          </td>

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

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

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

          <td data-label="Value" class="slds-cell-wrap" style="vertical-align:top;" headers="d318248e172 ">
            <p style="margin-bottom:0;">vlocity_cmt__OneTimeCharge__c,vlocity_cmt__OneTimeCalculatedPrice__c,vlocity_cmt__OneTimeTotal__c,vlocity_cmt__RecurringCharge__c,vlocity_cmt__RecurringCalculatedPrice__c,vlocity_cmt__RecurringTotal__c</p>
          </td>

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

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

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

**Result JSON Path**

```
records
```

**REST API Information**

Get Line Item

```
GET /services/apexrest/vlocity_cmt/v2/cpq/carts/{{attrs.cartId}}/items?pagesize=10&price=false&validate=false&fields=vlocity_cmt__BillingAccountId__c,vlocity_cmt__ServiceAccountId__c,Quantity,vlocity_cmt__RecurringTotal__c,vlocity_cmt__OneTimeTotal__c,vlocity_cmt__OneTimeManualDiscount__c,vlocity_cmt__RecurringManualDiscount__c,vlocity_cmt__ProvisioningStatus__c,vlocity_cmt__RecurringCharge__c,vlocity_cmt__OneTimeCharge__c,ListPrice,vlocity_cmt__ParentItemId__c,vlocity_cmt__BillingAccountId__r.Name,vlocity_cmt__ServiceAccountId__r.Name,vlocity_cmt__PremisesId__r.Name,vlocity_cmt__InCartQuantityMap__c&priceDetailsFields=vlocity_cmt__OneTimeCharge__c,vlocity_cmt__OneTimeCalculatedPrice__c,vlocity_cmt__OneTimeTotal__c,vlocity_cmt__RecurringCharge__c,vlocity_cmt__RecurringCalculatedPrice__c,vlocity_cmt__RecurringTotal__c
```

**Cards**

[comp-assets-product-item (card)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_product_item__card_.htm&release=264.0.0&type=5 "The comp-assets-product-item card renders the space for products listed by contracts on the cards-based Assets and Review Cart Visualforce pages.")

[comp-cart-review-product-item (card)](https://help.salesforce.com/s/articleView?id=ind.comms_comp_assets_product_item__card_.htm&release=264.0.0&type=5 "The comp-assets-product-item card renders the space for products listed by contracts on the cards-based Assets and Review Cart Visualforce pages.")

**Image**

![This layout or template is just a structure and appears to be blank.](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/reviewcart_compcartreviewlayout.jpg)