You are here:
cpq-product-list (layout)
The cpq-product-list layout renders the product list in the cart.
In Salesforce Industries Communications, Media, and Energy Summer '18, cpq-product-list has been changed—localeCode is passed as a parameter to the data source for multi-language support.
Template
cpq-product-list (layout)
Layout Session Variables
Name |
Value |
|---|---|
totalSize |
payload.totalSize |
nextProducts |
payload.actions.nextproducts |
Data Source
Dual
Remote Class
CpqAppHandler
Remote Method
getCartsProducts
Input Map
Input Map Variable |
Value |
|---|---|
cartId |
{{params.id}} |
fields |
IsActive,Id,Name,UnitPrice,ProductCode,vlocity_cmt__RecurringPrice__c |
pagesize |
10 |
localeCode |
{{attrs.cpqUserLocale}} |
Result JSON Path
records
REST API Information
Get Products
GET /vlocity_cmt/v2/cpq/carts/{{params.id}}/products?hierarchy=2&pagesize=10&fields=IsActive,Id,Name,UnitPrice,ProductCode,vlocity_cmt__RecurringPrice__c
Cards
Image

