Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

adding required field in the credit card information section

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-18-2006, 12:22 PM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default 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

Any help would be great. Cheers!
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #2  
Old 12-18-2006, 03:12 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

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

Moving to Template Editing.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 12-19-2006, 07:19 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default 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!
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #4  
Old 12-20-2006, 07:00 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default 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.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #5  
Old 12-20-2006, 07:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #6  
Old 12-27-2006, 06:02 AM
 
MBA MBA is offline
 

eXpert
  
Join Date: Apr 2006
Posts: 245
 

Default 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.
__________________
xCart Pro Version 4.0.17, 4.0.19, 4.1.8, 4.1.10, 4.1.11, 4.1.12 - retired
xCart Pro Version 4.3.1 - production
xCart Pro Version 4.5.1 - testing
RHEL Platform
Reply With Quote
  #7  
Old 12-27-2006, 06:23 AM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default 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
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

   

 
X-Cart forums © 2001-2020