|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
kitchen Smarty n00b
Joined: 07 Jun 2009 Posts: 1
|
Posted: Sun Jun 07, 2009 3:29 pm Post subject: Need help with multiple loop of code? |
|
|
Hi
Here is the code block (this is in my shopping cart of my site):
Code: | <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> |
The above code is for a promotion code lookup box and I would like to have multiple boxes(ie lookup's).
any help with this would be good
Thanks
Simon |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|