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

How can I add new field to customer profile and order profil

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-02-2003, 09:34 PM
 
vietxinh vietxinh is offline
 

Newbie
  
Join Date: Jul 2003
Posts: 2
 

Default How can I add new field to customer profile and order profil

We're running a flower shop system but we're facing a technical issue when we want to add new fields to customer profile and order information when they checkout, such as delivery date, greeting message... We'd also like to take out some unncessary field. I have some knowledge about php and smarty but I don't know the file system of xcart so I don't know which file I should hack in order to add in those fields. Please provide me some technical information about this issue such as what are the files that handle the checkout process. I did take a look at cart.php but I didn't see any database query that does the work of inserting new order and its information into the database. Please help! Thanks!
Reply With Quote
  #2  
Old 11-03-2003, 11:11 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

The safest bet is to reuse existing fields, that way you know that the various parts of xcart already fill it in and extract it correctly.

Then just change the label for that field in xcart languages.

eg

ssn - use this as delivery date
fax num -> greeting message

etc.

Otherwise, there are rather a lot of scripts and templates to amend.

hth
__________________
ex x-cart guru
Reply With Quote
  #3  
Old 11-03-2003, 11:18 AM
 
vietxinh vietxinh is offline
 

Newbie
  
Join Date: Jul 2003
Posts: 2
 

Default

That's is a smart way. Thanks you
Reply With Quote
  #4  
Old 11-03-2003, 11:27 AM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

i'm just lazy \
__________________
ex x-cart guru
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 01:09 AM.

   

 
X-Cart forums © 2001-2020