You are here

function commerce_shipping_update_7000 in Commerce Shipping 7

Same name and namespace in other branches
  1. 7.2 commerce_shipping.install \commerce_shipping_update_7000()

Add address field for the commerce_shipping customer profile.

File

./commerce_shipping.install, line 38
Contains updade hooks for the commerce_shipping module.

Code

function commerce_shipping_update_7000(&$sandbox) {
  $profile_types = commerce_shipping_commerce_customer_profile_type_info();
  commerce_customer_configure_customer_profile_type($profile_types['shipping']);
  return t('Address field added to commerce shipping customer profile.');
}