function uc_order_pane_products_close in Ubercart 7.3
Hides the form to add another product to the order.
1 string reference to 'uc_order_pane_products_close'
- uc_order_product_select_form in uc_order/
uc_order.order_pane.inc - Form to choose a product to add to the order.
File
- uc_order/
uc_order.order_pane.inc, line 528 - This file contains the callbacks for the default order panes supplied with Ubercart and their corresponding helper functions.
Code
function uc_order_pane_products_close($form, &$form_state) {
unset($form_state['products_action']);
unset($form_state['refresh_products']);
unset($form_state['product_select_options']);
$form_state['rebuild'] = TRUE;
}