Size calculation logic for quotes

Joovii apps now have several choices for solving the "box packing algorithm" used to determine the overall size of a package for quoting both in the Checkout when Carrier calculated shipping is enabled and in admin for booking a shipment.

Previously Joovii only offered the Stacking method, but now there is the pure Cubic method and a Hybrid which will ensures the minimum dimensions of a large item are considered.    See below for the explanation of how each of these methods work.

Stacking

Consider this like a pyramid where the length and width of the largest item forms the base of a pyramid.    Then all items are stacked on top one by one to determine the height.    This is the "safest" form of quoting since no assumptions are made about fitting the smaller items side by side or nesting.  It therefore quotes the maximum dimensions that would be needed to ship the items.

Cubic

The cubic method essentially takes the dimensions of every item in the order and adds up the total cubic volume required for the order, and then converts that volume into 3 equal length, width and height dimensions of this cube.    It is essentially the most optimistic approach because it assumes all parcels will be perfectly fit into the box with no spare airspace in the box.  This is selected in the menu as Cubing - Set dimensions to the nearest cube.

Cubic - Hybrid

The hybrid approach is a combination of the above where the largest length and width of the largest item are used as the base of the box and then the height is determined using the cubic method.   This helps ensure that any particularly long item that may incur a length penalty is not under quoted using the cubing process.   This is selected in the menu as Cubing - Take the longest item as base.


Examples:

Consider an order with 3 items as per the list below:

Here are the box sizes that would be calculated using the above methods:


Settings

Under the menu item Dimensions Calculation method you will find the settings.

Still need help? Contact Us Contact Us