cpq-base-header-pricelist (template)

The cpq-base-header-pricelist template calls changePricelist to assign the price list the agent selects.

In ​Salesforce Industries Communications, Media, and Energy Summer '18, cpq-base-header-pricelist supports multi-language translation for the Price List Name.

Template Type

Containers

Code

HTML

Image

The price list picklist is set to YS2 Price List.

Upgrade from Vlocity CME Winter '18 to Vlocity CME Summer '18

When upgrading from ​Salesforce Industries Communications, Media, and Energy Winter '18 to ​Salesforce Industries Communications, Media, and Energy Summer '18, you must make the following change to the HTML in the Card Designer.

First Change

<div class="slds-text-body_small">{{::importedScope.customLabels.CPQPriceList}}</div>
<div class="slds-text-body_small">{{::importedScope.customLabels.CPQPriceList | CPQTranslateFilter:'PriceList.Name'}}</div>

Second Change

{{importedScope.currentPricelist.Name || importedScope.customLabels.CPQSelectPriceList}}
<span>{{importedScope.currentPricelist.Name || importedScope.customLabels.CPQSelectPriceList | CPQTranslateFilter:'PriceList.Name'}}</span>

Third Change

<span class="slds-truncate">{{pricelist.Name}}</span>
<span class="slds-truncate">{{pricelist.Name | CPQTranslateFilter:'PriceList.Name'}}</span>