changing months in words to the numerical instead
Just noticed something that seems a bit daft to me, if using manual proccessing for cards (or any cc payment method where you take the details on your own site) instead of have the start and expiry month in words i.e January, Febuary, March etc. etc. shouldn't it be 01, 02, 03 etc. etc. i've yet to see a credit card where it is words instead of numbers.
Anyone know of a way how I can change it to the months by numbers instead??? |
Does the date format in General Settings/Appearance options have effect on it?
|
no i've already got it set as 02-03-05 i.e numericaly
|
Another issue with the payment (manual) process is if you have a Maestro Card for example you sometimes do not have a start date.
X-Cart automatically lists the current month and year for both start and end dates. I think it should be numerical as you said, but also default be: -- -- 01 01 02 02 etc That way if you dont have a Start Date you can select -- -- instead of X-Cart showing 02 04 as how do you know that their card really did start on 02 04 or that they dont have a start date and x-cart defaults (if it was that month and year) 02 04. Jez |
Yeah i've noticed that as well good idea, in my experience though the start date is pretty much ignored for validation purposes anyway with all card, it seems the expiry date is the only one that is checked.
|
yeh not good this.
should be set to numbers instead never listed as words on cards etc |
there must be a template somewhere which has that drop down box in it, it passes numerics so i guess it's just a case of editing it so that description and value are the same, problem is trying to find it though, cant seem to get the right on in webmaster mode
|
|
ok so we change html_select_date to ???????? I really cant tell from the smarty manual, it only give demonstration code as what is already happening
|
try this, not tested live though yet
Code:
{* $Id: register_ccinfo.tpl,v 1.21.2.5 2004/07/27 13:22:52 max Exp $ *} |
All times are GMT -8. The time now is 09:25 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.