You are here

function commerce_shipping_commerce_customer_profile_type_info in Commerce Shipping 7.2

Same name and namespace in other branches
  1. 7 commerce_shipping.module \commerce_shipping_commerce_customer_profile_type_info()

Implements hook_commerce_customer_profile_type_info().

2 calls to commerce_shipping_commerce_customer_profile_type_info()
commerce_shipping_update_7000 in ./commerce_shipping.install
Add address field for the commerce_shipping customer profile.
commerce_shipping_update_7001 in ./commerce_shipping.install
Add default profile reference field on order if needed.

File

./commerce_shipping.module, line 73
Defines a system for calculating shipping costs associated with an order.

Code

function commerce_shipping_commerce_customer_profile_type_info() {
  $profile_types = array();
  $profile_types['shipping'] = array(
    'type' => 'shipping',
    'name' => t('Shipping information'),
    'description' => t('The profile used to collect shipping information on the checkout and order forms.'),
    'help' => '',
    'checkout_pane_weight' => 0,
  );
  return $profile_types;
}