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

Credit Card Images Instead of Text in checkout.tpl
 
Reply
   X-Cart forums > X-Cart 4 > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-04-2007, 09:11 AM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Credit Card Images Instead of Text in checkout.tpl

Hi,

I was wondering if someone could answer this or at least point me to post or search term.

I'm using the standard checkout, not the Fast Lane mod. On the page where the customer chooses their payment method (checkout.tpl), I'd like to have credit card images appear instead of the "Credit Card" text. With paypal, the image already appears. I'd just like to know how to go about doing this for other methods.

Thanks
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #2  
Old 02-04-2007, 01:10 PM
 
inebriate inebriate is offline
 

eXpert
  
Join Date: May 2006
Posts: 301
 

Default Re: Credit Card Images Instead of Text in checkout.tpl

in skin1/customer/main/checkout.tpl look for
Code:
<TD nowrap><B>{$payment_methods[payment].payment_method}&nbsp;&nbsp;&nbsp;</B></TD> <TD>{$payment_methods[payment].payment_details|default:"&nbsp;"}</TD>
if all you have is paypal and credit card as your payment methods then you can change the above to something like <TD colspan=2><img src="creditcardimages.jpg"></TD> and upload the image

if you have more than those 2 payment methods you will have to use if statements
__________________
x-cart pro 4.0.18
linux
www.fabric8d.com (currently undergoing construction)
Reply With Quote
  #3  
Old 02-04-2007, 02:21 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Credit Card Images Instead of Text in checkout.tpl

thanks, i didnt quite understand what you suggested i do.

but i found a solution in this post.

http://forum.x-cart.com/showthread.php?t=22197&page=4&highlight=sexy

either way, thanks!
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #4  
Old 03-20-2007, 10:32 PM
 
Scrapbooker Scrapbooker is offline
 

Advanced Member
  
Join Date: Feb 2007
Posts: 52
 

Default Re: Credit Card Images Instead of Text in checkout.tpl

Hi,
probably a basic question but thought I'd ask it anyway as I am having trouble locating the answer... I have reduced the amount of credit cards we accept to two (MCard and Visa) and would like to be able to do two things:
a) Add these logos to the checkout process as neaisha and co have asked. I have read through the other thread but still not certain how to get this to work.
b) In the CC information section in the checkout, it has the option for selecting the credit card type. Need to reduce the options from the 4 cards that are there to only the two. Though I could track this down via /customer/main/payment_cc.tpl but can't seem to see what to do.
Any ideas? Thanks.

# Amendment # have since found that I had to actually delete the credit cards I did not want to use from the admin menu rather than just 'uncheck' them. Still wondering how to add logos though...
__________________
Sean Doohan
www.scrapbookingwonders.com.au
Sydney, Australia
x-cart: v4.0.19
cuteftp
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > 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 06:51 PM.

   

 
X-Cart forums © 2001-2018