Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Switch / Maestro / Solo card icons

Switch / Maestro / Solo card icons

Locked

Views: 3,828

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
4 Apr 2007, 11:11 AM
#1
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Switch / Maestro / Solo card icons

Hi

I have enabled credit cards in admin > Confirguration > Credit Cards

I have also uploaded icons to correct folder includes > templates > custom template > images > icons

i then renamed them cc3.gif, cc4.gif and so on. I did this because i am aware that Visa and Mastercard are cc1.gif and cc2.gif Amex appears to be cc3.gif.

However, the other cards aren't showing up!?

Does anyone know what i might be doing wrong?

Am i naming the icons incorrectly?

4 Apr 2007, 11:29 AM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Switch / Maestro / Solo card icons

  1. Have you enabled the specific cards you're wanting to show icons for ?

  2. Try uploading your changed images to the template_default template instead of your custom template. I seem to recall a case where this was necessary due to an odd override glitch.

4 Apr 2007, 5:36 PM
#3
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Switch / Maestro / Solo card icons

Hi

Thanks for response.

  1. Have you enabled the specific cards you're wanting to show icons for ?

I think i stated that i had already:

I have enabled credit cards in admin > Confirguration > Credit Cards

Is this what you mean? If not, please let me know about any other credit card configuration via admin.

Try uploading your changed images to the template_default template instead of your custom template. I seem to recall a case where this was necessary due to an odd override glitch.

Tried this but still not displaying

5 Apr 2007, 3:02 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Switch / Maestro / Solo card icons

You said you "enabled credit cards" ... you didn't say whether you enabled specific cards. Thus, was just checking to be sure. (You can turn images on/off for payment page using a similar switch on that same page .... some folks do that and think everything else should work.)

What's the URL to the site where this is happening?

Or better yet, what does View Source from your browser show you from your checkout_payment page where the incorrect icons are showing ?

5 Apr 2007, 7:47 AM
#5
mattys avatar

mattys

Zen Follower

Join Date:
Sep 2006
Location:
North Devon, England, UK
Posts:
289
Plugin Contributions:
0

Re: Switch / Maestro / Solo card icons

Yep, definitely enabled.

Here' the site http://www.redwoodsurfshop.co.uk/index.php?main_page=

And code for that area of the page:

<fieldset>
<legend>Payment Method</legend>

<strong>We accept:</strong> <img src="includes/templates/future_zen/images/icons/cc1.gif" alt="" width="37" height="21" /> <img src="includes/templates/future_zen/images/icons/cc2.gif" alt="" width="37" height="21" /> <img src="includes/templates/future_zen/images/icons/cc3.gif" alt="" width="37" height="21" /> <br class="clearBoth" />

<input type="hidden" name="payment" value="paypal" /><label for="pmt-paypal" class="radioButtonLabel">Paypal IPN</label>
<br class="clearBoth" />
5 Apr 2007, 7:54 AM
#6
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Switch / Maestro / Solo card icons

Matty

You should consider using CEON's manual credit card module - especially if you are in the UK.

The module is not available in the zencart downloads section, but from CEON's dev website.

Search the forum for CEON and you'll find the link... (I can't recall it right now off the top of my head).

5 Apr 2007, 8:20 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
177

Re: Switch / Maestro / Solo card icons

:oops: We missed building in the CC image support for these cards.

You need to edit your /includes/languages/english/YOURTEMPLATE/credit_cards.php file
and add these:

define('TEXT_CC_ENABLED_SOLO','Solo');
define('TEXT_CC_ENABLED_SWITCH','Switch');
define('TEXT_CC_ENABLED_MAESTRO','Maestro');
```and these:

define('IMAGE_CC_ENABLED_SOLO', zen_image($template->get_template_dir('cc8.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc8.gif'));
define('IMAGE_CC_ENABLED_SWITCH', zen_image($template->get_template_dir('cc9.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc9.gif'));
define('IMAGE_CC_ENABLED_MAESTRO', zen_image($template->get_template_dir('cc10.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc10.gif'));


The correct images will be cc8.gif, cc9.gif, cc10.gif, respectively.
30 Jul 2007, 3:46 PM
#8
michaelchankh avatar

michaelchankh

New Zenner

Join Date:
Nov 2005
Location:
London, United Kingdom
Posts:
12
Plugin Contributions:
0

Re: Switch / Maestro / Solo card icons

DrByte:

:oops: We missed building in the CC image support for these cards.

You need to edit your /includes/languages/english/YOURTEMPLATE/credit_cards.php file
and add these:

define('TEXT_CC_ENABLED_SOLO','Solo');
define('TEXT_CC_ENABLED_SWITCH','Switch');
define('TEXT_CC_ENABLED_MAESTRO','Maestro');

> ```
define('IMAGE_CC_ENABLED_SOLO', zen_image($template->get_template_dir('cc8.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc8.gif'));
define('IMAGE_CC_ENABLED_SWITCH', zen_image($template->get_template_dir('cc9.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc9.gif'));
define('IMAGE_CC_ENABLED_MAESTRO', zen_image($template->get_template_dir('cc10.gif', DIR_WS_TEMPLATE, $current_page_base,'images/icons'). '/' . 'cc10.gif'));

The correct images will be cc8.gif, cc9.gif, cc10.gif, respectively.

Hi Dr Byte,

Quick question about Maestro, Solo and Switch Card. For a payment to be valid - we merchant needs Issues number of the card and valid date. As this does not appear on the payment page, which are required inorder for these payment to accepted. Please advise - thank you very much

Regards,
Mike

6 Dec 2007, 7:17 PM
#9
mediathing avatar

mediathing

Zen Follower

Join Date:
Apr 2005
Location:
London
Posts:
405
Plugin Contributions:
0

Re: Switch / Maestro / Solo card icons

Did you ever resolve the extra required info boxes for this?

Pete