clothingsavers Posted November 6, 2008 Share Posted November 6, 2008 Where do I go to disable coupon code promotions. I do not want this to show on my checkout process. Thanks! 0 Quote Link to comment Share on other sites More sharing options...
sparky Posted November 7, 2008 Share Posted November 7, 2008 (edited) Hey I need another beer!! In viewcart.tpl remove the bellow lines {if $promotioncode} <tr class="carttablesummary"><td align="right">{$promotiondescription}: </td><td align="center">{$discount}</td></tr> {/if} and a bit bellow <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 /><input type="submit" value="{$LANG.orderpromovalidatebutton}" />{/if} </form> Edited November 7, 2008 by sparky 0 Quote Link to comment Share on other sites More sharing options...
RoadStar Posted January 23, 2011 Share Posted January 23, 2011 This doesn't look like an elegant solution. If there is an active promotion for particular item/service then the form field should show, else if there is no promotion the field should be hidden by default. Something to consider on the next release of WHMCS 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.