Support Services

Fast and professional to support your business
Welcome, Guest
Username: Password: Remember me

TOPIC: Payment GTW logos in order form

Payment GTW logos in order form 5 years 10 months ago #3873

  • a-webhost
  • a-webhost's Avatar
  • Offline
  • Junior Boarder
  • Hello
  • Posts: 30
  • Karma: 0
Hi all.
Anyone knows, how to do like this?
[url:k2b2zc2n]www.a-webhost.com[/url]
Looking for Business Partners Worldwide
PS. And Yes, Steven is my Super Hero
The administrator has disabled public write access.

Re: Payment GTW logos in order form 5 years 10 months ago #3876

  • Mark
  • Mark's Avatar
  • Offline
  • Gold Boarder
  • Posts: 265
  • Karma: 0
I think I will be doing something like this on my site with the ajax order form. By editing whmcs\order\templates\signup.tpl.
<table width="100%" cellspacing="0" cellpadding="0">
  <tr class="rowcolor1"><td>{foreach key=num item=gateway from=$gateways}<input class='inputbox'type="radio" name="paymentmethod" value="{$gateway.sysname}" id="gateway{$num}"{if $selectedgateway eq $gateway.sysname} checked{/if} /><label for="gateway{$num}">{$gateway.name}</label> {/foreach}</td></tr>
  </table>

By using some php like the following:
If ({$gateway.sysname}==”paypal”) echo “<img src=’paypal.png’ alt=’Paypal’ />”

Hope this gets you on your way.

Regards,
Mark
The administrator has disabled public write access.
Time to create page: 0.029 seconds
Powered by Kunena Forum