You are here

function uc_quote_save_choice in Ubercart 5

Same name and namespace in other branches
  1. 6.2 shipping/uc_quote/uc_quote.module \uc_quote_save_choice()

File

shipping/uc_quote/uc_quote.module, line 1327
The controller module for fulfillment modules that process physical goods.

Code

function uc_quote_save_choice($form_values) {
  $quote_option = explode('---', $_POST['quote-option']);
  $_SESSION['quote'] = array(
    'method' => $quote_option[0],
    'accessorials' => $quote_option[1],
    'rate' => $_POST['rate'][$_POST['quote-option']],
    'quote_form' => $_POST['quote-form'],
  );
}