sinryder Posted April 16, 2009 Posted April 16, 2009 expiry date option on checkout_payment.php page for my credit card module is showing in letters ex: january, febuary, march, i need it to be in numbers like 1, 2, 3, 4 , 5 can someone please tell me how to change this. thankx
web-project Posted April 16, 2009 Posted April 16, 2009 you need to modify the php/html code in the payment module file. Please read this line: Do you want to find all the answers to your questions? click here. As for contribution database it's located here! 8 people out of 10 don't bother to read installation manuals. I can recommend: if you can't read the installation manual, don't bother to install any contribution yourself. Before installing contribution or editing/updating/deleting any files, do the full backup, it will save to you & everyone here on the forum time to fix your issues. Any issues with oscommerce, I am here to help you.
sinryder Posted April 16, 2009 Author Posted April 16, 2009 you need to modify the php/html code in the payment module file. this is the contribution i am using for my cc payment. and cant locate the months ( january, febuary, march , ....... ) in these files http://www.oscommerce.com/community/contri...,Internetsecure
FIMBLE Posted April 16, 2009 Posted April 16, 2009 Some where in the code you will find an options code that you can change, im sorry but i cannot for the life of me remember where it is!! Im not near any osc files to look either. try searching the classes folder for it, easy but i am having a senior moment!! Sometimes you're the dog and sometimes the lamp post [/url] My Contributions
sinryder Posted April 17, 2009 Author Posted April 17, 2009 Some where in the code you will find an options code that you can change, im sorry but i cannot for the life of me remember where it is!!Im not near any osc files to look either. try searching the classes folder for it, easy but i am having a senior moment!! hey bro i have checked all the files and still cant find it :(
sinryder Posted April 19, 2009 Author Posted April 19, 2009 hey bro i have checked all the files and still cant find it :( someone please guide me to the right file
GemRock Posted April 19, 2009 Posted April 19, 2009 someone please guide me to the right file locate line 118: $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); change it to: $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%m',mktime(0,0,0,$i,1,2000))); i am referring to ismd.php. Ken commercial support - unProtected channel, not to be confused with the forum with same name - open to everyone who need some professional help: either PM/email me, or go to my website (URL can be found in my profile). over 20 years of computer programming experience.
sinryder Posted April 19, 2009 Author Posted April 19, 2009 locate line 118: $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%B',mktime(0,0,0,$i,1,2000))); change it to: $expires_month[] = array('id' => sprintf('%02d', $i), 'text' => strftime('%m',mktime(0,0,0,$i,1,2000))); i am referring to ismd.php. Ken hey bro , thankyou so much that worked :) just one more thing left on my to-do list.. when a custom enters the card number i want it to automatically select the credit card option.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.