Skip to content

Commit

Permalink
Version: 0.4.9, address options, updated field descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
dmattke committed Mar 6, 2018
1 parent e31f182 commit 5e5f329
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
19 changes: 12 additions & 7 deletions admin/CargonizerOptions.php
Original file line number Diff line number Diff line change
Expand Up @@ -704,38 +704,43 @@ function loadAddressOptions(){
array(
'name' => 'cargonizer-return-address-name',
'label' => __('Name', 'wc-cargonizer' ),
'desc' => __('Name of the consignor', 'wc-cargonizer'),
'type' => 'text',
'value' => get_option('cargonizer-return-address-name'),
),

array(
'name' => 'cargonizer-return-address-country',
'label' => __('Country', 'wc-cargonizer' ),
'type' => 'text',
'value' => get_option('cargonizer-return-address-country'),
),

array(
'name' => 'cargonizer-return-address-postcode',
'label' => __('Postcode', 'wc-cargonizer' ),
'desc' => __('Postal code of the consignor', 'wc-cargonizer'),
'type' => 'text',
'value' => get_option('cargonizer-return-address-postcode'),
),

array(
'name' => 'cargonizer-return-address-city',
'label' => __('City', 'wc-cargonizer' ),
'desc' => __('City/location of the consignor', 'wc-cargonizer'),
'type' => 'text',
'value' => get_option('cargonizer-return-address-city'),
),

array(
'name' => 'cargonizer-return-address-address1',
'label' => __('Address', 'wc-cargonizer' ),
'desc' => __('Address/street of the consignor', 'wc-cargonizer'),
'type' => 'text',
'value' => get_option('cargonizer-return-address-address1'),
),

array(
'name' => 'cargonizer-return-address-country',
'label' => __('Country', 'wc-cargonizer' ),
'desc' => __('Must be a ISO 3166 Country Code, i.e. NO for Norway', 'wc-cargonizer'),
'type' => 'text',
'value' => get_option('cargonizer-return-address-country'),
),

);
}

Expand Down
2 changes: 1 addition & 1 deletion woocommerce-cargonizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/*woo
Plugin Name: Woocommerce Cargonizer
Description:
Version: 0.4.8
Version: 0.4.9
Author: Mediebruket AS
Author URI: http://mediebruket.no
*/
Expand Down

0 comments on commit 5e5f329

Please sign in to comment.