Deleted rows which display coupon information

Discussion in 'Templates customization' started by cooliohiten, Oct 23, 2010.

  1. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Dear All,

    I've deleted the blocks of code from the main table on signup.php which display the rows that contain details about coupons (the labels on the left about coupons, and the text box on the right where the customer can enter the coupon number).

    Because I've deleted the code, I cannot see the coupon row even when I enable 'Allow usage of coupons' inside Amember admin.

    Could someone please post the code for the coupons so I can add the row again to the table on signup.php please?

    Best wishes,

    ch
  2. davidm1

    davidm1 aMember User & Partner

    Joined:
    May 16, 2006
    Messages:
    4,437
    V3.2.3

    {if $config.use_coupons}
    <tr>
    <th colspan="2" class="headrow">#_TPL_SIGNUP_COUPONS#</th>
    </tr>
    <tr>
    <th><b>#_TPL_SIGNUP_COUPON_CODE#</b><br />
    <div class="small">#_TPL_SIGNUP_COUPON_1#<br />#_TPL_SIGNUP_COUPON_2#</div></th>
    <td><input type="text" name="coupon" id="f_coupon"
    class="{ldelim} remoteCoupon: 'ajax.php'{rdelim}"
    value="{$smarty.request.coupon|escape}" size="15" />
    </td>
    </tr>
    {/if}

    David
  3. cooliohiten

    cooliohiten Member

    Joined:
    May 1, 2009
    Messages:
    124
    Thanks David.
  4. erwinvdb

    erwinvdb aMember Pro Customer

    Joined:
    Aug 30, 2007
    Messages:
    264
    Always make a backup before you make a change ;)
    I also store the archives I downloaded from the aMember customer section on a safe place.
  5. skippybosco

    skippybosco CGI-Central Partner Staff Member

    Joined:
    Aug 22, 2006
    Messages:
    2,526
    +1 on storing the unmodified aMember .zip file somewhere safe.

Share This Page