Support Forums

Show extra listing field in administration order page

This is a discussion on Show extra listing field in administration order page within the Customizations forums, part of the Developer Forums category; Hi, I would like to show a extra listing field in the orders.php page (administration side) This means that i ...


Go Back   68 Classifieds Forums > Developer Forums > Customizations

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-12-2009, 06:32 PM   #1
Customer
 
damiun's Avatar
 
Join Date: Apr 2009
Posts: 412
Rep Power: 15
damiun is on a distinguished road
Default Show extra listing field in administration order page

Hi,

I would like to show a extra listing field in the orders.php page (administration side)
This means that i have to edit the code,
So i tried the code from the listings.php page to display extra fields:

Quote:
function getExtraField($id,$fieldid)
{
global $db;
$sSQL = "SELECT sValue FROM ".PREFIX."products_fields WHERE pID='".$id."' AND fID=".$fieldid;
$result=$db->query($sSQL);
if ( $result->isError() )
{
trigger_error('Listing::getListing: Unable to fetch listing');
return false;
}
if ( $result->size()>0 )
{
$rs=$result->fetch();
$value = $rs['sValue'];
}
$result->freeResult();
return $value;
}
But that doesnt work,
I get the "null"

The issue is, that i want to show an extra listing field and the total order price in one row.

Do you have ideas how i can do this?

Dominick
damiun is offline   Reply With Quote
 

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Extra field value order wabugi Technical Support 5 05-22-2009 11:36 AM
how do you change dollar sign to euro sign on listing package page in administration? cottage_rentals Technical Support 1 11-26-2008 02:58 AM
show feature listings by extra field icex Technical Support 1 10-09-2008 11:27 AM
extra fields on show results page anna245 Technical Support 3 04-18-2008 02:31 PM


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


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0