Closed (fixed)
Project:
Physical Fields
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Aug 2011 at 22:04 UTC
Updated:
11 Oct 2011 at 20:31 UTC
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
Comment #1
rszrama commentedMoving to the new project.
Comment #2
rszrama commentedAdded API functions to support weight and dimensions field value conversion.
Commit: http://drupalcode.org/project/physical.git/commitdiff/f3fac12