wp-e-commerce/WP-e-Commerce — pull request #482 by benhuson (2013-06-06 11:57:16+00:00)
Title: Allow default dimension and weight units to be filterable.

Addresses #423

This basically means that you can set the default selected value for weight and dimension dropdown menus in the admin.

For example to set default unit measurements to grams and cm:

```php
function my_wpsc_default_weight_unit( $unit ) {
return 'gram';
}
add_filter( 'wpsc_default_weight_unit', 'my_wpsc_default_weight_unit' );

function my_wpsc_default_dimension_unit( $unit ) {
return 'cm';
}
add_filter( 'wpsc_default_dimension_unit', 'my_wpsc_default_dimension_unit' );
```