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
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"&...
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...
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...
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}...