| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
A simple fix to pretty the checkout up a little | ||||
|
|
Thread Tools | Search this Thread |
#31
|
|||||||
|
|||||||
fearnothing can you tell us where and what code you added to get this look. I have been looking at trying to do this myself.
Thank you!
__________________
cwill2200 X-Cart Gold 4.0.18 FreeBSD |
|||||||
#32
|
|||||||||
|
|||||||||
Quote:
its a security thing... there is a list of trusted variables / scripts etc if you add this to that list you should be ok. the same thing would strip html from various other forms not sure where the post is youll have to have a hunt around
__________________
Looking for a reliable X-cart host ? You wont go wrong with either of these. EWD Hosting Hands On Hosting |
|||||||||
#33
|
|||||||
|
|||||||
Hmmm.
Thanks for that Shan. I have searched the forum using 'trusted variables', and there are few posts but mostly relating to using markup in 'Extra Fields'. It's at this point where I have to admit that I'm getting out of my depth. I think the relevant PHP file is admin/payment_methods.php but beyond that I cannot see what needs to be done to add this variable to the trusted list. The field that needs to be freed up to accept HTML is 'payment_details' within the 'payment_methods' table (cwill2200 - this is where I added the <IMG> tag to get the CC logos to appear using PHPMyAdmin). If no-one comes up with an answer in the next few days I'll use up a few support points and ask the X-Cart crew.
__________________
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 |
|||||||
#34
|
|||||||
|
|||||||
What a great mod... the old checkout page to new is incomparable. I did make a few changes, though...
The changes: 1- Add personal details 2- "Americanize" the address, bringing city/state/zip onto one line Here's how it looks: http://www.moderncoinmart.com/skin1/images/checkout.jpg Here's the new, full code for sexy-customer-details.tpl: Code:
Again, thanks so much for the great mod!
__________________
Version 4.0.17/4.0.18 |
|||||||
#35
|
|||||||
|
|||||||
Love this, thank you! If the gray doesn't match our site would there be a way to edit the colors or would I need to just redo images and replace them in the code?
__________________
cwill2200 X-Cart Gold 4.0.18 FreeBSD |
|||||||
#36
|
|||||||
|
|||||||
Quote:
Jeremy
__________________
Version 4.0.17/4.0.18 |
|||||||
#37
|
|||||||
|
|||||||
An update to the images in the Payment Methods fields in admin, courtesy of our good friends the X-Cart Men:
Code:
It works a treat, and the descriptors in 'Payment Methods' now accept HTML. So you would need to add this into the field before any text: [img]../yourlocation/skin1/images/payment_xxxx.gif[/img] (I Haven't tried using the Image Location variable, but this works and keeps the SSL intact) You'll obviously need some GIF files - the ones I have used in my store (with white background, not transparent) are available here: Visa and Mastercard Amex and Diners Paypal Cheque (Check) And if you prefer to mess around with them yourself, this should do the trick: Photoshop PSD file in layers I've updated the screen shots in the earlier posts to reflect exactly how it looks as of now.
__________________
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 |
|||||||
#38
|
|||||||||
|
|||||||||
Wow nice fix fearnothing
What really does the trick if this thing will accept language variables. Then you can place your html tags into the language variables, and also your payments methods descriptions are multilanguage. Thanks for the fix anyway, it gives me an idea where to start. Using language variables wouldn't mess up all the code of html and normal text. And also the imagedir variable works etc.
__________________
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... |
|||||||||
#39
|
|||||||
|
|||||||
Quote:
I just did this, excellent mod, Thanks a lot for the update!
__________________
X-Cart Gold Version 4.0.18 EWDHosting.com is my Host Unix Servers |
|||||||
#40
|
|||||||||
|
|||||||||
Quote:
I am not sure where the above line is supposed to be inserted? Is it to go into my line "Visa or Mastercard" in the Payment method screen in Admin?
__________________
Carl Tice X-Cart 4.6.6 X-Payments 3.0 ReBOOT 3.4.1 PHP 5.6.30 MySQL 5.6.35 Linux 2.6.32-042stab120.18 ionCube PHP Loader v4.7.3 Perl 5.10.1 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|