Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Adding text and images to the credit card module


rince

Recommended Posts

(apologies - made the mistake of posting this to the tips and tricks forum)

 

Hi all,

 

I'm using the credit card payment module, and I'd like to be able to add some instructions and images to the page that asks for credit card details. For example, I want the VISA and Mastercard logos to be displayed, and some text that explains that the credit card type is automatically determined from the card number. (I've had a number of people confused by this issue)

 

The quickest, nastiest solution I can find to this is to extend the definition of:

 

define('MODULE_PAYMENT_CC_TEXT_TITLE', 'Credit Card')

 

in includes/languages/english/modules/payment/cc.php to something like:

 

'Credit Card<br><br>Here are some instructions on using this page...'

 

This is almost satisfactory, except the extended text now also appears in the admin payments page.

 

Is there a neater solution to this?

 

Thanks in advance,

 

Karl Dane

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...