Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Credit card images on payment method

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-23-2006, 07:34 PM
 
vixnfox vixnfox is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: Adelaide, South Australia
Posts: 82
 

Default Credit card images on payment method

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
Reply With Quote
  #2  
Old 02-23-2006, 11:15 PM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

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.
Reply With Quote
  #3  
Old 02-24-2006, 01:36 AM
 
vixnfox vixnfox is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: Adelaide, South Australia
Posts: 82
 

Default

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
Reply With Quote
  #4  
Old 02-24-2006, 02:17 AM
 
vixnfox vixnfox is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: Adelaide, South Australia
Posts: 82
 

Default

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
Reply With Quote
  #5  
Old 02-24-2006, 02:23 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

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.
Reply With Quote
  #6  
Old 02-24-2006, 01:56 PM
 
vixnfox vixnfox is offline
 

Advanced Member
  
Join Date: Feb 2006
Location: Adelaide, South Australia
Posts: 82
 

Default

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
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:24 PM.

   

 
X-Cart forums © 2001-2020