function commerce_webform_pane_checkout_form in Commerce Webform 8
Same name and namespace in other branches
- 7.2 commerce_webform.checkout_pane.inc \commerce_webform_pane_checkout_form()
- 7 commerce_webform.checkout_pane.inc \commerce_webform_pane_checkout_form()
Checkout pane callback Validate the order to check all mandatory items are still in the order at checkout.
File
- ./
commerce_webform.checkout_pane.inc, line 15 - Checkout pane for commerce_webform module This validates an order to ensure webform mandatory productfields are still in the order.
Code
function commerce_webform_pane_checkout_form($form, &$form_state, $checkout_pane, $order) {
_commerce_webform_validate_order($order);
}