Hello,

I am using the ShoppingCart object to add products from the web site and I was 
wondering if there is any logic to determine how many boxes the contents of the 
shopping cart will require. When I add a product to the shopping cart using the 
ShoppingCartEvents.addToCart() java method, I see that some CartShipInfo 
objects get created and they create a single "package". I don't want the 
customer to have to be concerned with wether the shipping will require multiple 
boxes and I'm not trying to ship some of the cart contents to one address and 
some to another. So, it isn't something that would require customer input.

I was hoping to use some of the UOM definitions that I have for the product, 
either weight or height and width dimensions to determine which of the defined 
ShipmentBoxType entities should be used and then wether the order should be 
broken up into multiple boxes. I would also leverage this logic in doing the 
packing phase of the order.

To my logic the shipping estimates would need to know how many boxes are being 
shipped before the shipping charges are calculated and the payment reviewed and 
processed. Is this something that exists in ofbiz? Or do I need to specify the 
shipment groups to the shopping cart explicitly?

Thanks

-craig

Reply via email to