Hi,
The HTML code you pasted in the content part of the email.
The tag allows to repeat a specific block for each element for the order "footer".
The content of that order footer is generated in the "preload" of the email (the last textarea when you edit an email).
For the coupon, you can search for that code
$cartFooters[] = array(
'NAME' => JText::_('HIKASHOP_COUPON'),
'VALUE' => $t
);
If you want to add the coupon code in the label, you need to modify it into:
$cartFooters[] = array(
'NAME' => JText::_('HIKASHOP_COUPON') . ' - ' . @$data->order->order_discount_code,
'VALUE' => $t
);
Regards,