Zen Cart Logo

Extra Required Info

Locked

Views: 609

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
5 Apr 2010, 10:28 AM
#1
revenged avatar

revenged

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

Extra Required Info

When someone checks out and enters there information, I want to add some custom required boxes that can be sent to me for payment.

Like, I want a users:

Account Name: (for a game)
Forum Name:

I'm selling virtual goods, so I need that information to deliver quickly. I need to make it so it's a requirement upon checking out to enter that information.

5 Apr 2010, 11:55 PM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Extra Required Info

Is the extra info related to the Order or to each of the Products on the Order?

If it is based on the Order ... you could use the comment to trace how it is managed and other than where you store it, as I think you would want to store it in the orders table ... it would show you how to manage new fields ...

The Tools ... Developers Tool Kit ... would let you search for:
comment

in the bottom input box and you can see what files are affected on the Catalog and on the Admin ...

6 Apr 2010, 8:32 PM
#3
revenged avatar

revenged

New Zenner

Join Date:
Apr 2010
Posts:
2
Plugin Contributions:
0

Re: Extra Required Info

The extra information is related to the order. I NEED the information to complete there order. Which is why I want to know how to make extra fields and make them required upon checkout.

I looked at the thing you said, but i'm not sure how to go about editing it. Is there a tutorial somewhere on here?

7 Apr 2010, 4:36 PM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Extra Required Info

What the search for:
comment

does is help you see how an input box on the check_XXX pages can be used throughout the checkout ...

It can help in locating most changes ... however you need to be careful on the final results as they need to go in the orders table from what you are saying and the comments are in the orders_status_history table ...

But the idea is similar ...

You need a way to ask the information, save the information to a $_SESSION variable and update the orders table with the new information and then be able to retrieve the new information from the orders table in the admin ...

This is not difficult to do but it can be a bit time consuming to write ...

Have you got your coders hat on ... :smartalec: