| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Credit card images on payment method | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() Hi,
I'm not a big fan of the radio buttons on the payment methods page. I would like to replace the buttons with images. What template do I edit for that? And if you reply, how did you find that out?!?!? thanks vixnfox
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If you use webmaster mode from Admin, you will be able to find each and every template you need to edit for whatever changes you want to make.
Now you should be able to answer your own question! (if you don't find it, let me know and I will have a look as I often make that change)
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#3
|
|||||||
|
|||||||
![]() Oh *sheepish grin* so THATS what webmaster mode is all about.
*mental note... RTFM* thank you ![]() vixnfox
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
#4
|
|||||||
|
|||||||
![]() Hi Paul,
I found lots of goodies to play with, but the payment options info reads: (checkout.tpl) <FORM method="get" action="cart.php" name="checkout_form"> <TABLE border="0" align="center" width="400"> {section name=payment loop=$payment_methods} <TR> <TD><INPUT type="radio" name="paymentid" value="{$payment_methods[payment].paymentid}"{if $payment_methods[payment].is_default eq "1"} checked{/if}></TD> {if $payment_methods[payment].processor eq "ps_paypal_pro.php"} <TD colspan="2"> <TABLE border="0" cellpadding="0" cellspacing="0"><TR> <TD>{include file="payments/ps_paypal_pro_express_checkout.tpl" paypal_express_link="logo"}</TD> <TD></TD> <TD>{include file="payments/ps_paypal_pro_express_checkout.tpl" paypal_express_link="text"}</TD> </TR></TABLE> Is it in there somewhere? vixnfox
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Well the short answer is yes.
The long answer is that having found the right template, you now need to test your html and smarty skills. Basically what you have there is a loop that creates a radio button for each payment option you have. Depends on how many payment options you have how you approach this and whether they may change. You may just want to place the images in a table to the left of the loop, or you may want to replace the loop with an input for each one of your options, or you may want to recode the whole loop to look how you want. It is up to you, your options and your skillset now.
__________________
Paul Dodman e-business & m-commerce consultant w: www.luminointernet.com e: xcart@luminointernet.com Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart. |
|||||||||
#6
|
|||||||
|
|||||||
![]() Thank you very much Paul. I shall have to play around with Smarty until I become more proficient, but I can see how it woud work now. Thanks again.
vixnfox
__________________
V 4.3.1 Live: Developing on PHP 5.3.0 MySQL server 5.0.75-community-log MySQL client 5.1.36 Web server Apache/2.2.11 (Unix) mod_ssl/2.2.11 Windows 7 64bit on a Toshiba Satellite P500 ADELAIDE, SOUTH AUSTRALIA |
|||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|