X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   adding required field in the credit card information section (https://forum.x-cart.com/showthread.php?t=27445)

MBA 12-18-2006 12:22 PM

adding required field in the credit card information section
 
Hi - I am interested in adding a required field in our checkout card here in the credit card information section:

../cart.php?paymentid=21&mode=checkout

I have played around on our test server with various tpl files, but I believe I need to get a bit more direction as I have duffed the credit card section in the admin area :lol:

Any help would be great. Cheers!

balinor 12-18-2006 03:12 PM

Re: adding required field in the credit card information section
 
Moving to Template Editing.

MBA 12-19-2006 07:19 AM

Re: adding required field in the credit card information section
 
Surely, someone has wanted this feature? I guess my issue is there are a couple of governing tpls for the checkout cart especially the credit card information section (thanks for that tutorial balinor that was a treat). Adding a text box anywhere in there would be ideal, but I'd like to make it a required text box that checks for a phone number without .'s, -'s or spaces with a minimum number of numbers required and returns an error when letters are put in. The coding sounds easy enough, but which tpl would I tackle?
I can post back here with the how's and what's, I just need a little direction. Cheers!

MBA 12-20-2006 07:00 AM

Re: adding required field in the credit card information section
 
Quote:

Originally Posted by balinor
Moving to Template Editing.


Are you sure this section is the best place for this? It seems that Fraud Prevention would be more applicable when you concerned no one has posted a reply in three days :-( I'm sure others would want this feature in their software as well.

balinor 12-20-2006 07:02 AM

Re: adding required field in the credit card information section
 
Well, it is about editing templates, so this is the right place. :) If you want a guaranteed answer to your question, post a ticket with X-Cart via your help desk.

MBA 12-27-2006 06:02 AM

Re: adding required field in the credit card information section
 
Quote:

Originally Posted by balinor
Well, it is about editing templates, so this is the right place. :) If you want a guaranteed answer to your question, post a ticket with X-Cart via your help desk.


posting - I'll let you know what I find out.

carpeperdiem 12-27-2006 06:23 AM

Re: adding required field in the credit card information section
 
Quote:

Originally Posted by MBA
I'd like to make it a required text box that checks for a phone number without .'s, -'s or spaces

Why not be smarter than the customer and LET THEM use spaces or dashes or .?

http://www.sensible.com/

http://forum.x-cart.com/showthread.php?t=26982


All times are GMT -8. The time now is 07:07 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.