PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 1-1-05, 02:03 AM   #1
aviscat
 
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
aviscat is offline  
Old 1-1-05, 10:38 AM   #2
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 1-1-05, 01:00 PM   #3
aviscat
 
Join Date: Nov 2004
Location: Texas
Posts: 24
Reputation: 5
Displaying a newly added field

Quote:
Originally Posted by stevel
Did you add the cc_verify field to the database query so that it gets into the info array?

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
aviscat is offline  
Old 1-1-05, 01:41 PM   #4
stevel
XPW
 
stevel's Avatar
 
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
stevel is offline  
Old 1-1-05, 01:52 PM   #5
aviscat
 
Join Date: Nov 2004
Location: Texas
Posts: 24
Reputation: 5
Quote:
Originally Posted by stevel
You would add this in admin/includes/classes/orders.php - the "query" function.

Thanks. That worked. Now I am going to attempt to add another field I added into the orders screen. I may be back.

--
Maria
aviscat is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 05:46 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.