Community Forums 

Main Content

Need help with script

    Oct 23 2011 21:29:51

    #1

    efriends

    Join date : 2011-07-14      Posts : 51

    Here is the INVOICE CONFIRMATION code that displays discount info even if there is no discount:
    <tr>
    <td colspan=2></td>
    <td align=left><font face="Arial" size=2><b>Discount</b></font></td>
    <td align=right><font face="Arial" size=2>- #Discount_value#</font></td>
    </tr>

    I don't want the info to appear if there is no discount. I don't really know what I am doing but after some research, I added code in the same location as the original code location.


    The code I added basically says to execute the code if #Discount_value# is not equal to zero but what happens is the code does not execute no matter what the #Discount_value# is.

    Please help.



    Nov 11 2011 02:09:45

    #2

    efriends

    Join date : 2011-07-14      Posts : 51

    Does not look like anyone can help.

    I CONSIDER THIS TOPIC CLOSED.