Questions tagged as 'smarty'

2
answers

money_format smarty

Good, I would like to be able to convert this figure: 23785638.83 to 23.785.638,83 in smarty I was thinking about using money_format but I get it whole, if you can help me I would appreciate it     
asked by 15.12.2017 / 03:52
3
answers

Use Smarty variables in JavaScript with innerHTML

I have Smarty variable (PrestaShop) {$cart_qties} . How can I use it in a script? For example <script> if ("{$cart_qties}" > 5) { document.getElementById("demo").innerHTML = "MAS de 5"; } </script> <p id="demo"&...
asked by 08.06.2017 / 12:52
0
answers

I have not finished using the HelpScout WebHook

I am trying to integrate a HelpScout WebHook, having already applied the same API in a PrestaShop module that I am creating. The issue is that I ask the HelpScout technical service and they can not help me, they tell me to look at the guides the...
asked by 05.11.2018 / 07:43
0
answers

Jquery change the content of an element to a fontawesome icon

I have this HTML code in a TPL template called "customer-form.tpl" where I generate a series of buttons in a TPL template to show a user's edit fields, where the fields that come by default are rendered in prestashop and what I do the same is in...
asked by 28.03.2018 / 18:06
0
answers

call variable in another smarty template

I would like to store a value in one variable and then call it in another template, currently I have it like this: in order-confirm-table.tpl {assign var="final" value=0 scope=root} {foreach from=$products item=product} {$final=$final+1}...
asked by 21.03.2018 / 17:35