You are here

function uc_coupon_checkout_submit in Ubercart Discount Coupons 7.2

Same name and namespace in other branches
  1. 7.3 uc_coupon.module \uc_coupon_checkout_submit()
1 string reference to 'uc_coupon_checkout_submit'
uc_coupon_form in ./uc_coupon.module
Form builder for the uc_coupon form.

File

./uc_coupon.module, line 1181

Code

function uc_coupon_checkout_submit($form, &$form_state) {
  unset($form_state['checkout_valid']);
  $form_state['redirect'] = 'cart/checkout';
  $form_state['rebuild'] = TRUE;
}