Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

someone please help me out?


sinryder

Recommended Posts

Posted

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

Posted

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.

Posted

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

Posted
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 :(

Posted
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.

Posted
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...