![]() |
Where is the template for the CC Expiration Fields?
hi,
i need to change the look of the Credit Card fields in checkout. I'm changing register_cc_info.tpl but the Expiration field contains just this code Code:
can somebody tell me where i find the template which produces for the above code the drop down fields? I need to change the width of the both fields. Thanks in advace |
Re: Where is the template of the CC Expiration Fields?
This is a smarty feature. You don't have to use it.
http://www.smarty.net/manual/en/language.function.html.select.date.php You can also manually code a dropdown if you need to... The smarty code may be able to be formatted using css. I have not done this, but it seems possible. I hope this helps you find your solution. |
Re: Where is the template for the CC Expiration Fields?
Quote:
search for this code (to change): {html_select_date prefix="card_expire_" display_days=false end_year="+10" month_format="%m" time=$userinfo.card_expire_time} To edit, try some of the things suggested at these topics: Credit Card Expiration Default Values (see post # 13 and 14): http://forum.x-cart.com/showthread.php?t=28551 Month as "# - text" in CC info: http://forum.x-cart.com/showthread.php?t=36919 changing months in words to the numerical instead: http://forum.x-cart.com/showthread.php?t=12524 Credit card expiration date is beyond options: http://forum.x-cart.com/showthread.php?t=15463 Credit Card Expiration Date: http://forum.x-cart.com/showthread.php?t=26686 Robert |
All times are GMT -8. The time now is 06:08 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.