It should be possible to convert a values into any unit via an API function.

An example would be a user has entered a weight of a product in pounds and a shipping method does a web service integration to get the quote price, but need the weight in grams or kilo grams. Unlike prices, we have a limited ways of doing conversion and the rate doesn't change.

Comments

rszrama’s picture

Project: Commerce Physical Product » Physical Fields

Moving to the new project.

rszrama’s picture

Version: » 7.x-1.x-dev
Status: Active » Fixed

Added API functions to support weight and dimensions field value conversion.

Commit: http://drupalcode.org/project/physical.git/commitdiff/f3fac12

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.