Имею такой скрипт, он работает:
{literal}
<script type="text/javascript">
function changelicense() {
var licensetype = document.getElementById("licensetype").value;
if (licensetype == "regular") {
chooseLicence('regular', '**{$item.price|string_format:"%.0f"}**', '**{$item.prepaid_price|string_format:"%.0f"}**', 'block')
}
if (licensetype == "extended") {
chooseLicence('extended', '**{$item.extended_price|string_format:"%.0f"}**', '**{$item.extended_price|string_format:"%.0f"}**', 'none')
}
}
</script>
{/literal}
Но как сделать так, чтобы значение {$item.price|string_format:"%.0f"} писалось цифрами, как ему и положено? Пока получаю в значении именно вот эту надпись