Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Using HTML in the payment methods description

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #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
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:11 AM.

   

 
X-Cart forums © 2001-2020