en fait dans le controller il faut assigner mes valeurs:
puis dans le smarty je les reutilise orderCondirmationController.php
$this->context->smarty->assign(array(
'HOOK_ORDER_CONFIRMATION' => $this->displayOrderConfirmation($order),
'HOOK_PAYMENT_RETURN' => $this->displayPaymentReturn($order),
'order' => $presentedOrder,
'register_form' => $register_form,
'id_order' => $order->id,
'total'=>$order->total_paid,
));
et dans le template order-confirmation.tpl
{literal} <script> gtag('event', 'conversion', { 'send_to': 'AW-XXXXXXXX/YYYYYYYYY', 'value': {/literal}{$total|string_format:"%.2f"}{literal}, 'currency': 'EUR', 'transaction_id': '{/literal}{$id_order}{literal}' }); </script> {/literal}
...