You are here

function uc_quote_shipping_type in Ubercart 6.2

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

Implements hook_shipping_type().

File

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

Code

function uc_quote_shipping_type() {
  $weight = variable_get('uc_quote_type_weight', array(
    'small_package' => 0,
  ));
  $types = array();
  $types['small_package'] = array(
    'id' => 'small_package',
    'title' => t('Small package'),
    'weight' => $weight['small_package'],
  );
  return $types;
}