Adding a new field - need help!

danetix

No avatar

2006-07-13 19:34

So I went through all the threads on how to add a new field. Most of them seem outdated but I have managed to get my field to show up on the send page. It also shows up on the admin orders_more page. I am trying to add a state field. When I submit an order it goes through and saves to the db. All the information right up to the state field are fine, everything after it is in one field too soon. I think it is having problems saving the info from the state field.

When I edit /core/orders.php , I have added my variable to line 172 (dbAddOrderExtensions), and line 185 (checkOrderFields). But I get this error:

NoticeUndefined indexsState in /home/content/r/a/l/raleightech/html/quickcart/core/orders.php on line 191



And it takes me to the page saying that I need to fill all required fields. Can someone please tell me what is going on?

danetix

No avatar

2006-07-13 19:39

This is what I see in the Orders page

First Name: John
Last Name: Doe
Company: Company Name
Street: 1234 Windy Trail Drive
City: New York
State: 123456 <----THIS IS WHERE THE PROBLEM STARTS
Zipcode: 123-456-7890
Telephone: johndoe@email.com
Email: 1.1.1.1
IP: <blank>

danetix

No avatar

2006-07-14 04:46

I'm sure someone here knows and can help me out... :)

danetix

No avatar

2006-07-14 22:40

Am I the only one who is having trouble with this?

SLawek

No avatar

2006-07-15 17:42

I'm sure that treewood can help you and others people if he will!!

maybe this can help you http://opensolution.org/Quick.Cart/docs/?id=templates&s=order#orders_list.tpl http://opensolution.org/Quick.Cart/docs/?id=templates&s=order#orders_basket.tpl

SLawek

No avatar

2006-07-15 17:43

<?php echo phpversion(); ?>




<?php echo phpinfo(); ?>

treewood (OpenSolution)

Avatar: treewood

2006-07-16 07:31

danetix - use search. write "field" and check ansewered topics

Back to top
about us | contact