% // объявляем переменные для использования в шаблоне if (window.price.renew.response != undefined) { var tierGroups = window.kl.groupBy(window.price.renew.response, product => product.tierName); var isPriceLoaded = tierGroups["standard"] && tierGroups[window.getPromotableTierName()]; } %> <% function renderPriceButton(tier, tierName) { %> <% if (isPriceLoaded) { %>
<%= BuySwitchLabel %>
<%= BuySwitchDescription %>
|
|||||||||||||