Discussions

Name of pane created from hook_commerce_customer_profile_type_info?

This api just says that a pane is defined for it but doesn't specify what it will be named. It also says that it may be used in the checkout form.

Anyone know what the pane would be called in the api example?:

<?php
function hook_commerce_customer_profile_type_info() {
 
$profile_types = array();

 
$profile_types['billing'] = array(
   
'type' => 'billing',
   
'name' => t('Billing information'),
   
'description' => t('The profile used to collect billing information on the checkout and order forms.'),
  );

  return
$profile_types;
}
?>
Posted: Jun 5, 2012

Comments

switch on June 13, 2012

Customer profile panes - the Customer module defines one for each type of customer information profile using the name of the profile type as the title of the pane