Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add new dates to Credit Card module drop-down


richlewt

Recommended Posts

Hi

Now its getting near the end of the year I want to add some year values to the Credit Card Start and Expiry dates in the drop-down menu for the credit card module. I cant seem to find where these values are kept. Anyone please?

thanks

Rich

"May the seam be with you"

Link to comment
Share on other sites

i took a look at the cc.php page located in CATALOG/includes/modules/payments/

 

seems they did the work for you!

 

There is a function that is pulling the current date for you from the server most likely and then doing the math to spit out the drop downs...

 

 

All this starts on line 80 ( at least on my php page editor...)

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...