Re: Re: Shipping - canada post, drupal shipping modules
Calculating box sizes/weight for shipping (was: Shipping - canada post, drupal shipping modules) (10 replies) Mon, 09/24/2007 - 23:19
- Re: Shipping - canada post, drupal shipping modules (10/18/2007 - 23:44)
- Glad to find this (10/24/2007 - 10:25)
- Re: Glad to find this (10/24/2007 - 12:22)
- Re: Re: Glad to find this (10/24/2007 - 20:56)
- Re: Re: Re: Glad to find this (10/25/2007 - 08:09)
- Re: Re: Re: Re: Glad to find this (10/25/2007 - 11:51)
- Re: Re: Re: Glad to find this (10/25/2007 - 08:09)
- Re: Re: Glad to find this (10/24/2007 - 20:56)
- Re: Glad to find this (10/24/2007 - 12:22)
- Glad to find this (10/24/2007 - 10:25)
- Re: Shipping - canada post, drupal shipping modules (09/25/2007 - 15:01)
- Re: Re: Shipping - canada post, drupal shipping modules (09/25/2007 - 22:17)
- Re: Re: Re: Shipping - canada post, drupal shipping modules (09/26/2007 - 07:41)
- Re: Re: Shipping - canada post, drupal shipping modules (09/25/2007 - 22:17)
- Hi there, I don't think (09/25/2007 - 01:27)

For the bridge, my thoughts were that it would be possible to trick the drupal module into thinking it's being called by drupal ecommerce - it would only use the documented ecommerce hooks. In other words, a 'bridge' module would effectively just be an API proxy - ubercart calls its hook method, which in turn calls ecommerce's hook method. Unless the APIs are so radically different..?
I can see the reasoning behind dimensions, but at the same time, it's something that PROBABLY isn't going to change for a given product based on the shipping carrier (aside from "standard" box sizes).
In theory you could actually figure out what standard box sizes to use based on product dimensions - but in reality it is much more complex and possibly not worth the effort (think: irregular-shaped objects: eg, a wedge of cheese requires a 4x4x6 box, but you can actually fit two in one box).
This is probably worthwhile sorting out, and I'm willing to put some effort in - since I'm going to need to deal with dimensions one way or another (writing a canadapost module, or a bridge).
My suggestion is moving the dimensions to the product module, then we can figure out more complex calculations from there.
For example, "maximum total space per box is X CuFt/cm3" to calculate how many separate boxes a shipment has. Maybe a size reduction multiplier in the product, eg "For every X of this item/item in this category/product class/.. reduce space usage by Y%". I'm not suggesting implementing this stuff now, it's just nice to have an end goal in sight when planning design changes.