revolutionstudios Posted June 18, 2009 Share Posted June 18, 2009 Is there a way to disable/remove the Promotional code input field and button on the shopping cart? 0 Quote Link to comment Share on other sites More sharing options...
chickendippers Posted June 18, 2009 Share Posted June 18, 2009 Hi, Yes you can remove it from viewcart.tpl 0 Quote Link to comment Share on other sites More sharing options...
revolutionstudios Posted June 22, 2009 Author Share Posted June 22, 2009 Thanks for that 0 Quote Link to comment Share on other sites More sharing options...
antoniojeldres Posted June 22, 2009 Share Posted June 22, 2009 Where? line? thank you. 0 Quote Link to comment Share on other sites More sharing options...
revolutionstudios Posted June 22, 2009 Author Share Posted June 22, 2009 Just open the file and have a look in there it's pretty clear I found. 0 Quote Link to comment Share on other sites More sharing options...
antoniojeldres Posted June 22, 2009 Share Posted June 22, 2009 {if !$checkout} <table width="100%"><tr><td width="55%" align="center"> <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> </td><td width="45%" align="center"> <input type="button" value="{$LANG.emptycart}" onclick="emptyCart();return false" /><br /><input type="button" value="{$LANG.continueshopping}" onclick="window.location='cart.php'" /><br /><input type="button" value="{$LANG.checkout}" onclick="window.location='cart.php?a=checkout'"{if $cartitems==0} disabled{/if} /> </td></tr></table> Thats the only line that t may contain the code, the problem... I don't know which one needs to be removed... 0 Quote Link to comment Share on other sites More sharing options...
revolutionstudios Posted June 22, 2009 Author Share Posted June 22, 2009 Ok sorry just take out from <form method....to </form> then you should be rocking 0 Quote Link to comment Share on other sites More sharing options...
antoniojeldres Posted June 23, 2009 Share Posted June 23, 2009 Thank you, it worked. 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.