--- uc_aac.orig 2007-12-18 15:59:45.000000000 -0600 +++ uc_aac.module 2007-12-18 16:28:06.000000000 -0600 @@ -51,8 +51,10 @@ function _uc_aac_alter_form($field_id, $ $correct_token = drupal_get_token($field_id); $result = db_query('select sell_price from {uc_products} where nid=%d', $nid); $price = 0; + $cost = 0; if ($product = db_fetch_object($result)) { $price = $product->sell_price; + $cost = $product->cost; } @@ -66,6 +68,8 @@ function _uc_aac_alter_form($field_id, $ $content .= '