Add geolocation option for default address

This commit is contained in:
Mike Jolley 2014-12-23 17:33:10 +00:00
parent 22cc1fb0c7
commit 5b31745061
1 changed files with 5 additions and 4 deletions

View File

@ -44,12 +44,13 @@ return apply_filters( 'woocommerce_tax_settings', array(
array(
'title' => __( 'Default Customer Address:', 'woocommerce' ),
'id' => 'woocommerce_default_customer_address',
'desc_tip' => __( 'This option determines the customers default address (before they input their own).', 'woocommerce' ),
'default' => 'base',
'desc_tip' => __( 'This option determines the customers default address (before they input their details).', 'woocommerce' ),
'default' => 'geolocation',
'type' => 'select',
'options' => array(
'' => __( 'No address', 'woocommerce' ),
'base' => __( 'Shop base address', 'woocommerce' ),
'' => __( 'No address', 'woocommerce' ),
'base' => __( 'Shop base address', 'woocommerce' ),
'geolocation' => __( 'Geolocate address', 'woocommerce' ),
),
),