Jump to content

How do I take down the Promotional Code Field?


bibleman

Recommended Posts

If you go into:

 

/whmcs_location/templates/orderforms/whatever_you_use

 

Open up viewcart.tpl or whatever the equivalent is for the template you are using and get rid of:

 

<form method="post" action="{$smarty.server.PHP_SELF}?a=view">
<input type="hidden" name="validatepromo" value="true" />
<strong>{$LANG.orderpromotioncode}</strong><br />
{if $promotioncode}{$promotioncode} - {$promotiondescription}<br /><a href="{$smarty.server.PHP_SELF}?a=removepromo">{$LANG.orderdontusepromo}</a>{else}<input type="text" name="promocode" size="20" /><br /><b /><input type="submit" class="green-but" value="{$LANG.orderpromovalidatebutton}" />{/if}
</form>

 

This would leave an empty space where the validate code form used to be, and your checkout/empty cart buttons would still be to the right of the page.

Link to comment
Share on other sites

  • 11 months later...
Looks like you just got rid of the first line, and not the rest of it. This is just basic HTML you're removing, its very simple.

 

I have already deleted the whole block of codes but the promotional codes is still there..

 

AM i deleting the codes in the right file?

 

websproutconsulting.com/webhosting/whmcs/templates/orderforms/default/viewcart.tpl

 

You can download the file and take a look, the codes are no longer there.. Would appreciate any help here, thank you.

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