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

Editing Credit Card Types?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-13-2002, 07:19 AM
 
ryan c. ryan c. is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 58
 

Default Editing Credit Card Types?

I amt rying to remove american express from my site. I have found it in the payment methods and have put "Visa, Mastercard" But when a customer checks out the american express option is still in the credit card section.

I figure it is listed in the below $card_types but can;t find where that is . Can you point me in the right direction?

Thanks

<option value="{$card_types[card_type].code}" {if $userinfo.card_type eq $card_types[card_type].code}selected{/if}>{$card_types[card_type].type}</option>
Reply With Quote
  #2  
Old 12-13-2002, 09:30 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

Look in config.php

Quote:
#
# Defined Card types
#
$card_types = array(
array("code"=>"VISA","type"=>"Visa"),
array("code"=>"MC","type"=>"Mastercard"),
array("code"=>"AMEX","type"=>"American Express")
);
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 12-16-2002, 06:05 AM
 
ryan c. ryan c. is offline
 

Advanced Member
  
Join Date: Sep 2002
Posts: 58
 

Default

Great thank you i didn;t even think of looking in there!

have a nice holiday
Reply With Quote
  #4  
Old 12-17-2002, 10:21 AM
 
unioman unioman is offline
 

Member
  
Join Date: Nov 2002
Location: VA, United States
Posts: 25
 

Default Another place you need to remove it

I've also found that you have to change the default lable that appears in the checkout screen of the cart page.

It's not actually in the lables area. To change "Visa, Mastercard, American Express" to what you want, go to your Payment Methods page and edit the "Special instructions" field beside the Credit Card method.
Reply With Quote
  #5  
Old 05-07-2004, 09:30 AM
 
Dehru Dehru is offline
 

Newbie
  
Join Date: Apr 2004
Posts: 3
 

Default Adding Cards in 3.5.6

In 3.5.6 I couldn't find any reference in config.php to card types or even in the admin area. I had deleted AMEX and was now going to accept it. Just by using the form and adding [AMEX] and [American Express] to the card types in the admin worked.

Dehru
3.5.6 w/Mods
FreeBSD
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 01:26 PM.

   

 
X-Cart forums © 2001-2020