Jump to content

How can I remove the coupon code field?


EEssam

Recommended Posts

whmcs\templates\orderforms\singlepage\order-stepfour.tpl

if your using single page ordering style.

 

whmcs\templates\orderforms\boxes\order-stepfour.tpl

If your using box style ordering page.

 

whmcs\templates\orderforms\default\order-stepfour.tpl

If your using the default style ordering page.

Link to comment
Share on other sites

Hello,

 

Here is what I did:

 

{else}

<p align="center"><input type="button" onclick="window.location='{$smarty.server.PHP_SELF}'" value="{$LANG.orderchangeproduct}" /> <input type="button" onclick="window.location='{$smarty.server.PHP_SELF}?step=2&modify=true'" value="{$LANG.orderchangedomain}" /> <input type="button" onclick="window.location='{$smarty.server.PHP_SELF}?step=3&modify=true'" value="{$LANG.orderchangeconfig}" /></p>

<form method="post" action="{$smarty.server.PHP_SELF}?step=4">
<div style="display: none">
<input type="hidden" name="validatepromo" value="true" />
<p align="center">{if $promoerrormessage}<font style="color:#cc0000"><strong>{$promoerrormessage}</strong></font><br />{/if}
<strong>{$LANG.orderpromotioncode}:</strong> {if $promotioncode}{$promotioncode} - {$promotiondescription} - <a href="{$smarty.server.PHP_SELF}?step=4&removepromo=true">{$LANG.orderdontusepromo}</a> {else}<input type="text" name="promocode" size="20" /> <input type="submit" value="{$LANG.orderpromovalidatebutton}" />{/if}</p>
</div>
</form>

{/if}

 

I added:

 

<div style="display: none">

And:

</div>

 

Will be there any problem?

 

Thanks.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated