How to print uc-auction-bid-table-form seperately in product node template using ubercart? I am trying to print uc-auction bid table separately in product node template. I have printed the add-to-cart button separately like this in the node--product.tpl.php.

&lt;?php 
 print drupal_render(drupal_get_form('uc_product_add_to_cart_form_'.$node-&gt;nid, $node));
?&gt;


Similarly how can i print uc_auction form(uc-auction-bid-table-form) separately. I can't able to print like above for uc-auction because it doesn't have any nids associated it. Any help will be really appreciated.

Thanks in advance.
In your module which implements hook_node_view, to accomplish this, do something along these lines:

   function module_node_view($node, $view_mode, $langcode) {
      // Do business logic here like if these node should have the form then...
      $node-&gt;content['your_from'] = array(
        '#markup' =&gt; drupal_render(drupal_get_form('uc_auction_bid_table_form')),
        '#weight' =&gt; 10,
        // you may or may not need this based on your implementation : '#theme' =&gt; 'theme_uc_auction_bid_table',
      );
    }


Drupal 6: use hook_nodeapi  

function modulename_nodeapi(&amp;$node, $op, $a3 = NULL, $a4 = NULL) {
  switch ($op) {   
    case 'view':
      // Do business logic here like if these node should have the form then...
      $node-&gt;content['uc_auction_bid_table'] = array(
        // Try drupal_render if theme does not work            
       '#value' =&gt; theme('uc_auction_bid_table', drupal_get_form('uc_auction_bid_table_form')),
        '#weight' =&gt; 10,
      );
      break;
  }
}