Can I include coupon code input on member.php but not on signup.php?

Discussion in 'Customization & add-ons' started by steve_77, Feb 18, 2011.

  1. steve_77

    steve_77 New Member

    Joined:
    Oct 22, 2009
    Messages:
    4
    We use a coupon for users who have already registered through the signup page and who then take out other memberships / products. Therefore we do not need the coupon code input box to show on signup.php but do need it on member.php. Can I hide the coupon box on signup page? How do I do this?

    thanks
  2. appzorro

    appzorro New Member

    Joined:
    Feb 18, 2011
    Messages:
    6
    Editing templates, may be
  3. alexander1232

    alexander1232 New Member

    Joined:
    Oct 1, 2010
    Messages:
    2
    Edit /amember/templates/signup.html and comment this block:
    Code:
    {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}
    
    

Share This Page