zomex Posted October 1, 2010 Share Posted October 1, 2010 Hello everyone, I wish to replace the payment gateway text with a logo on the checkout page. I know where the file is and I'm 90% sure that the code I need to edit is as follows but I don\t want to take any chances: <dl class="paymentgateway"> <dd>{foreach key=num item=gateway from=$gateways}<input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}"{if $selectedgateway eq $gateway.sysname} checked="checked"{/if} class="style_radio" /><label for="pgbtn{$num}">{$gateway.name} </label> {/foreach}</dd> </dl> {else} <dl class="paymentgateway"> <dd>{foreach key=num item=gateway from=$gateways}<input type="radio" name="paymentmethod" value="{$gateway.sysname}" id="pgbtn{$num}" onclick="{if $gateway.type eq "CC"}showCCForm(){else}hideCCForm(){/if}"{if $selectedgateway eq $gateway.sysname} checked="checked"{/if} class="style_radio" /><label for="pgbtn{$num}">{$gateway.name} </label>{/foreach}</dd> </dl> It's annoying because I have seen the tutorial so many times on this forum but now I need it I can't follow it. Any assistance will be greatly appreciated. Thanks. Jack 0 Quote Link to comment Share on other sites More sharing options...
GORF Posted October 1, 2010 Share Posted October 1, 2010 Is this what you are looking for? http://forum.whmcs.com/showthread.php?t=8523 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.