Home > widget-integration > TierDiscountService > getTemplate
TierDiscountService.getTemplate() method
Gets template for widget
Signature:
getTemplate(widgetId: string, templateKey?: string): Promise<string | undefined>;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
widgetId |
string | |
|
templateKey |
string |
(Optional) |
Returns:
Promise<string | undefined>