Adding extra fields for required data??

greenspun.com : LUSENET : S-Mart Shopping Cart : One Thread

Hello,

Can anyone tell me how to add extra fields in the form for getting extra information from clients?

The data must be sent with the order when placed and payment made.

Thanks in advance

Matthew

-- Matthew Bolderoff (mjb@gist.net.au), July 03, 1999

Answers

Hi,

You can use a text editor like "Notepad" and just copy one of the fields that are there. Then change the "name=" to the name you need.

You can check the "order.html" at http://www.team-blankets.com/s-order.html it has all the "required" "sort" and "exclude" fields in it. Also extra fields for "address2" "company" "country" "shipto" drop down box for "state" so you get the right two state code for tax. If you like it just copy the file or send me an e-mail and I will send you a copy. You just have to change the "www.foo.com" to your address and "orders.foo.com" to your e-mail.

Jim

-- James L. Farmer (jim@team-blankets.com), July 03, 1999.


Moderation questions? read the FAQ