Jump to content

Remove promotional code on shopping cart

Recommended Posts

{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}


</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} />



Thats the only line that t may contain the code, the problem... I don't know which one needs to be removed...

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.


Important Information

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