Shipping Box Size and Weight estimator
--------------------------------------
Key: OFBIZ-282
URL: http://issues.apache.org/jira/browse/OFBIZ-282
Project: OFBiz (The Open for Business Project)
Issue Type: New Feature
Components: ecommerce
Environment: new feature
Reporter: Daniel Kunkel
Priority: Trivial
Moved from old jira - 669. Placeholder for the feature.
--
Having gotten the USPS rate estimator working... I'm realizing that in order
for it to be useful we need to get an accurate estimate of which box will be
needed, and how much it weighs with packing materials.
Proposed Scheme
Add a new table for shipping boxes...
box id
height
width
depth
height uom
width uom
depth uom
---
usable height
usable width
usable depth
usable height uom
usable width uom
usable depth uom
weight
weight uom
etc
---
Algorithm...
1.) Requires all products height >= width >= depth... or have the dimensions
ordered that way for algorithm
2.) Find Maximum Height Width and Depth of any product
3.) Calculate total shipping volume for all products
4.) For all boxes in the above table, sort by usable volume that is greater
than total shipping volume.
5.) Searching box by box, accept the first box that is large enough in every
dimension (max length, max width, max height).
6.) Add the weight of this box to the product weight... and use this for
shipping.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira