[ 
https://issues.apache.org/jira/browse/OFBIZ-282?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharan Foga updated OFBIZ-282:
------------------------------
    Sprint: Bug Crush Event - 21/2/2015

> Shipping Box Size and Weight estimator
> --------------------------------------
>
>                 Key: OFBIZ-282
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-282
>             Project: OFBiz
>          Issue Type: New Feature
>          Components: specialpurpose/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 was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to