woocommerce/tests/unit-tests
Joey Kudish ece376bac1 weight/dim normalization: allow custom from unit
Add a third optional parameter to the weight and dimension normalization
functions in order to be able to specify a specific "from unit" instead
of using the site option. This allows arbitrary conversions between
different units of measure; which is particularly useful for extensions
that need to perform arbitrary unit conversions (e.g. shipping extension
that specifies custom box formats).

Also includes updated tests.
2016-01-12 22:48:56 -08:00
..
api Fixed php docs standards 2015-11-03 11:31:20 -02:00
cart Fixed php docs standards 2015-11-03 11:31:20 -02:00
coupon Fixed php docs standards 2015-11-03 11:31:20 -02:00
customer Fixed php docs standards 2015-11-03 11:31:20 -02:00
formatting weight/dim normalization: allow custom from unit 2016-01-12 22:48:56 -08:00
order Fixed php docs standards 2015-11-03 11:31:20 -02:00
product Fixed php docs standards 2015-11-03 11:31:20 -02:00
tax Fixed php docs standards 2015-11-03 11:31:20 -02:00
util Updated the currency code for 'Lao Kip' 2015-12-17 11:52:38 +05:45