View Single Post
  #46  
Old 07-08-2006, 04:22 AM
 
fearnothing fearnothing is offline
 

Senior Member
  
Join Date: Jun 2005
Location: North East England
Posts: 124
 

Default

Thanks for clearing up those questions Nightfire and smh7233 - I should have been more considerate with my notes.

Yes, just to clarify the whole thing; Once you have made the change to payment_methods.php, anyone with administration rights in X-Cart will be able to go to Payment Methods (under Administration section) and amend the 'Special Instructions' field for any or all of the payment methods to include HTML markup. (which is not possible without the payment_methods.php modifcation)

To get the 'Visa or Mastercard' option to display the image as in my screenshot, this is the full entry in my 'Special Instructions' field for that payment method:

Code:
[img]../store/skin1/images/payment_visa.gif[/img] Secure Online Credit Card Processing

I previously uploaded the GIF files to the standard skin1/images folder and my store is in the 'store' directory, but you can substitute this with the location of your store and preferred files location.

The tags are optional, I've included these to make the first (preferred) payment method stand out a little. The
tag puts the text below the image file.

You could of course not have any text in that field, and use an image file only - this would look neater again, but it would mean the customer would have to wait until the images rendered in their browser before choosing a payment method (dial-up, anyone?) so I wouldn't recommend this course of action.

Hope that helps ....
__________________
www.smartchoicemusic.com
Smart Choice Music - Import CD and DVD Specialists
4.6.0
MySQL 5.5.34
PHP 5.4.24
Apache/2.2.26
Multiple homegrown and paid-for mods
Reply With Quote