View Single Post
  #1  
Old 07-06-2006, 02:52 PM
  NightFire's Avatar 
NightFire NightFire is offline
 

X-Adept
  
Join Date: Jul 2004
Location: The Netherlands
Posts: 561
 

Default Using HTML in the payment methods description

I thought I'd share this on the completed mods section:

Thanks to fearnothing for providing this code:

Code:
If you would like to add HTML tags to the "payment_details" field you should open admin/payment_methods.php file and replace in it: require "./auth.php"; with define('USE_TRUSTED_POST_VARIABLES',1); $trusted_post_variables = array("posted_data"); require "./auth.php"; Those changes do not introduce any security risk, because the list of the payment methods can be changed by x-cart store administrator only.

For more info about pimping your checkout see this topic
http://forum.x-cart.com/viewtopic.php?t=29321&start=30
__________________
Best regards,
Niki Buitenrust Hettema

X-Cart Gold 4.1.8 (Live & Loaded)
Royal Bhaktapur: Handmade products from Nepal - Pashmina's, scarfs, shawls, stola's and more...
Reply With Quote