Jump to content

How to show payement methods seporately


hostedweb

Recommended Posts

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

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