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)
-   -   How can I add new field to customer profile and order profil (https://forum.x-cart.com/showthread.php?t=5058)

vietxinh 11-02-2003 09:34 PM

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!

funkydunk 11-03-2003 11:11 AM

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

vietxinh 11-03-2003 11:18 AM

That's is a smart way. Thanks you :)

funkydunk 11-03-2003 11:27 AM

i'm just lazy \:D/ :wink:


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

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