Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Add new dates to Credit Card module drop-down


Recommended Posts


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?



"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


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

  • Create New...