Giftcards in billsettings.ftl in eCommerce

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Giftcards in billsettings.ftl in eCommerce

Jacques Le Roux
Administrator
Hi,

I have found something weird in this file. Obvisouly something is wrong (giftCard.pinNumber can't be an amount), but has anybody an idea about this snippet :

              <#if paymentMethodType != "GC">
                <tr>
                  <td width="26%" align="right" valign=middle><div class="tabletext">${uiLabelMap.AccountingAmountToUse}</div></td>
                  <td width="5">&nbsp;</td>
                  <td width="74%">
                    <input type="text" class="inputBox" size="5" maxlength="10" name="giftCardAmount" value="${giftCard.pinNumber?if_exists}">
                  *</td>
                </tr>

For instance how can be related
    <#if paymentMethodType != "GC">
and
    name="giftCardAmount"

Thanks for anybody aware of these weirdnesses

Jacques