We have a solution where every order has a 10% discount setup on it, and almost every order consists of 3 products.
The problem is that it will not display the discount as 1 line in the order mail, it shows 1 line of discount per product.
So to start with im filtering all the "discount" lines out by checking if product name contains "discount"
So now i want to add a hardcoded line into the order mail like this :
<tr>
<td nowrap="nowrap">
Discount 10%
</td>
<td align="right">
1
</td>
<td align="right">
</td>
<td align="right">
DKK
</td>
<td align="right">
<!--@Ecom:Order.SalesDiscount-->
</td>
</tr>
But the problem is that <!--@Ecom:Order.SalesDiscount--> is "0". I thought it was supposed to return the discount for the order.
Is it the tag that is broken ? or is not supposed to be used here ? It is not inside any loops or anything.