|
| Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more. |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread |
|
|
#1 |
|
Join Date: Nov 2004
Location: Texas
Posts: 24
Reputation: 5
|
Displaying a newly added field
I have added a field cc_verify to the orders table and it updates in the table but I cannot get it to display on /admin/orders.php page. I get this:
Credit Card Number: xxxxxxxxxxxxxxx Credit Card Verify: Credit Card Expires: 0107 I know the data is in the table. This is the code that should work but it isn't. Can anyone help? <tr> <td class="main"><?php echo ENTRY_CREDIT_CARD_NUMBER; ?></td> <td class="main"><?php echo $order->info['cc_number']; ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_CREDIT_CARD_VERIFY; ?></td> <td class="main"><?php echo $order->info['cc_verify']; ?></td> </tr> <tr> <td class="main"><?php echo ENTRY_CREDIT_CARD_EXPIRES; ?></td> <td class="main"><?php echo $order->info['cc_expires']; ?></td> </tr> -- Maria ![]() |
|
|
|
|
#2 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
Did you add the cc_verify field to the database query so that it gets into the info array?
__________________
Steve |
|
|
|
|
#3 | |
|
Join Date: Nov 2004
Location: Texas
Posts: 24
Reputation: 5
|
Displaying a newly added field
Quote:
I am pretty sure I added cc_verify wherever cc_number existed. Can you tell me which query it would be and in which file? I went back to look at the database and while I don't remember deleting the record for my test order which had the cc_verify in it it is gone. My client may have deleted it. I will ask him later. I just figured out how to get the CCV showing on the customer side but still can't figure out the admin side. Please advise. -- Maria |
|
|
|
|
|
#4 |
|
XPW
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
|
You would add this in admin/includes/classes/orders.php - the "query" function.
__________________
Steve |
|
|
|
|
#5 | |
|
Join Date: Nov 2004
Location: Texas
Posts: 24
Reputation: 5
|
Quote:
Thanks. That worked. Now I am going to attempt to add another field I added into the orders screen. I may be back. -- Maria |
|
|
|
![]() |
| Thread Tools | Search this Thread |
|
|