NOTE: it is strongly recommended that you upgrade to v1.3.6 ...
The Manufactuer's information is not stored with the product on the orders_products table ... however, you can pick up the manufactuers_name via a function call ...
There is a function in the:
/includes/functions/functions_lookups.php
PHP Code:
/*
* Return a product's manufacturer's name, from ID
* TABLES: products, manufacturers
*/
function zen_get_products_manufacturers_name($product_id) {
global $db;
$product_query = "select m.manufacturers_name
from " . TABLE_PRODUCTS . " p, " .
TABLE_MANUFACTURERS . " m
where p.products_id = '" . (int)$product_id . "'
and p.manufacturers_id = m.manufacturers_id";
$product =$db->Execute($product_query);
return ($product->RecordCount() > 0) ? $product->fields['manufacturers_name'] : "";
}
This could be added to the:
/admin/includes/functions/extra_functions
directory in your own file to use in the Admin ...