function uc_order_add_product in Ubercart 6.2
Same name and namespace in other branches
- 5 uc_order/uc_order.module \uc_order_add_product()
Intermediate div that lets you set the qty and attributes for a product.
See also
1 string reference to 'uc_order_add_product'
- uc_order_menu in uc_order/
uc_order.module - Implements hook_menu().
File
- uc_order/
uc_order.admin.inc, line 1656 - Order administration menu items.
Code
function uc_order_add_product($order, $product) {
$output = '<div style="margin: 1em;"><strong>Add ' . check_plain($product->title) . '</strong>' . drupal_get_form('uc_order_add_product_form', $order, $product) . '</div>';
print $output;
exit;
}