hostedweb Posted August 8, 2009 Share Posted August 8, 2009 Hi, Can anyone tell me how to display the payment options to my customers separately, so that can have two divs, one with each payment method inside it? The reason i want to do this is to add a logo and small description to each gateway. thanks 0 Quote Link to comment Share on other sites More sharing options...
hostedweb Posted August 8, 2009 Author Share Posted August 8, 2009 forget that, ive managed to do it. thanks. 0 Quote Link to comment Share on other sites More sharing options...
minadreapta Posted August 9, 2009 Share Posted August 9, 2009 then please be kind and share. thanks. 0 Quote Link to comment Share on other sites More sharing options...
hostedweb Posted August 9, 2009 Author Share Posted August 9, 2009 Hi, I havent completed it yet but i just inserted the div container within the variable code.. for example.. {foreach key=num item=gateway from=$gateways}<div id="paymenttypes"><input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}"{if $selectedgateway eq $gateway.sysname} checked{/if} /><label for="pgbtn{$num}">{$gateway.name}</label></div>{/foreach} You can put what you want inside the div. 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.