Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

moneybookers payment module, add visa.gif and mastercard.gif to checkout_payment.php


111oneeleven

Recommended Posts

Posted

Hi,

 

using the Moneybookers osCommerce Payment Module, I have currently the moneybookers.gif shown at checkout_payment.php. However, as some of my customers are not familiar with moneybookers it would help to show the visa.gif and mastercard.gif next to the moneybookers.gif to let them know that cards are accepted with moneybookers.

I had a look at catalog/includes/payment/moneybookers_ol.php and found this section:

 

 function selection() {  // from Paypal_IPN
$img_moneybookers = DIR_WS_MODULES . 'payment/moneybookers/images/moneybookers.gif';
//$img_visa = DIR_WS_MODULES . 'payment/moneybookers/images/visa.gif';
//$img_mc = DIR_WS_MODULES . 'payment/moneybookers/images/mastercard.gif';
//$img_amex = DIR_WS_MODULES . 'payment/moneybookers/images/amex.gif';
//$img_diners = DIR_WS_MODULES . 'payment/moneybookers/images/diners.gif';
//$img_jcb = DIR_WS_MODULES . 'payment/moneybookers/images/jcb.gif';
//$mb_cc_explain = MODULE_PAYMENT_MONEYBOOKERS_OL_CC_EXPLAIN;
$mb_cc_txt = sprintf(MODULE_PAYMENT_MONEYBOOKERS_OL_CC_TEXT,
		    tep_image($img_moneybookers,' Moneybookers ','','','align=ABSMIDDLE')
		    //tep_image($img_visa,' Visa ','','','align=ABSBOTTOM'),
		    //tep_image($img_mc,' MasterCard ','','','align=ABSBOTTOM'),
		    //tep_image($img_amex,' American Express ','','','align=ABSBOTTOM'),
		    //tep_image($img_diners,' Diners Club ','','','align=ABSBOTTOM'),
		    //tep_image($img_jcb,' JCB ','','','align=ABSBOTTOM')
		    );
$fields[] = array('title' => '', //MODULE_PAYMENT_MONEYBOOKERS_OL_TEXT_TITLE,
		    'field' => '<div><b>' . $mb_cc_txt . '</b></div>' . $mb_cc_explain);
return array('id' => $this->code,
	     'module' => $this->title,
	     'fields' => $fields);
   }

Unfortunately has been uncommenting //$img_visa = DIR_WS_MODULES . 'payment/moneybookers/images/visa.gif'; not been successful. :blink:

Any suggestions? Thanks in advance.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...