Currency Formatting Engine
This page outlines how to set and use the XCE Currency Formatting Engine (CFE)
Overview
Usage
const currencyConfig = {
currencyDisplay: 'symbol',
trailingZeroDisplay: 'stripIfInteger'
};window.signalLayer.push({
signal: 'set',
element: 'xce-protection-offer',
onSet: '{{onset_promise_function}}',
data: {
offer_rquest: '{{offer_request_body}}',
currency_config: currencyConfig
}
});Custom options
Last updated