Page 1 of 1
Feature request: item size rule for shipping
Posted: 09 May 2017, 16:31
by JTe
Hi,
It would be great to have also a size rule for shipping. For example shipping by postal letter has a maximum physical width (thickness) in addition to the weight. Of course calculating the rule would be quite difficult, but it could be for example maximum size rule. So if the product has a dimension that is bigger than x the rule is not valid.
There could also be an option where you could calculate the width+width+width to get the maximum width (or thickness) of a product. That would work when selling similar size items that can be stacked (books, clothes in packages, etc). Calculating with three dimensions and volume would probably get already too complicated within the standard shipping plugin.
Re: Feature request: item size rule for shipping
Posted: 11 May 2017, 17:48
by Jan
Hi, thank you for the idea. Maybe we can add rule:
Length
Width
Height
and when some of the product size part (length, width, height) is larger, then it just don't fit the rule
Jan
Re: Feature request: item size rule for shipping
Posted: 13 May 2017, 07:01
by JTe
I guess he rule should have possibility for some calculations too, so you can include several products within on package.
In theory the calculation could be divided to the 1D, 2D and 3D measurement calculation. 1D being addition of two or more same measurements (length, width or height) until limit is reached, 2D being a kind of Tetris game of two of any three measurements and 3D calculation being a 3D Tetris game of all three measurements.
I guess the 3D calculation in out of scope being worth if its own plugin, as results could be so complicated that there will be also need to produce packing instructions. The 2D could be feasible if limiting the number of products and the 1D rule could be easily added.
So I guess a good way would be to prepare for the 2D and 3D calculation rules and start with the simple 1D rule by having an option to add one kind of measurement of several products until the maximum size is (usually in real life a package thickness) is reached. With this simple 1D rule if we are for example adding heights of products we would take the length and width with the maximum rule (the max width of any product being the width and same for max length).
That rule would fit well for easily stackable thin objects like books, tablets, T-shirt bags, etc.
Re: Feature request: item size rule for shipping
Posted: 14 May 2017, 23:29
by Jan
Hi, thank you for the info.
For now really basic rule will be added:
- max length
- max width
- max height
if some size of one product will be larger than defined parameters: e.g. max width: 105cm and the product has width 110cm, then the rule will be not valid.
The problem with tetris is, you can count e.g. widths of all products but in reality one of them will be set from "portrait" position to "landscape" position, so then all the tetris counting will be wrong
The base rule (really base rule) can prevent from possible problems while delivering one item which is larger then required (e.g. delivery service only accepts things smaller than 3 meters and the length of the boat mast is 3,5 meters, so in this case the rule will be not valid) - based on one product length - when the rules set by delivery services is assigned to one item.
I will try to find more information to prepare some more sophisticated system for the future (Either to add it as fix or prepare events for shipping plugins in calculation). Thank you, Jan
Now, the version 3.0.0 RC 7 will be releases and I will apply this rule in version 3.0.0 RC8
Thank you, Jan
Re: Feature request: item size rule for shipping
Posted: 01 Jun 2017, 11:27
by Jan
Partially set in RC8 - when some of the product has larger size (length, height, width) than set in Rules, the shipping method will be not displayed (this can be used when some shipping method has limits for size)