Does shipping_weight factor in typical packaging for shipping? So you'd use
shipping weight to calculate shipping costs, but product_weight for product
specification. You might order quantity twelve 420g cans of soup. 420g is
the net weight of the product, but for shipping you need to factor in the
weight of the cans and the box as well.
On 7 March 2018 at 13:11, Vikas Mayur <vikasma...@gmail.com> wrote:
> I see this commit was done to fix the inconsistencies with the weight
> column on the product. The product_weight is now used instead so if I am
> not wrong migrating to OFBiz 16 from OFBiz 12 would require me to copy the
> weight column to product_weight column and everything should magically
> happen. Of-course I need to change the custom code to adapt to this change.
> When I looked closer, the service 'recalcShippingTotal' make use of the
> column shipping_weight (OrderReadHelper.getItemWeight()) instead.
> So, my question is why would we use product_weight on order entry and
> shipping_weight when an item is canceled to recalculate the order total?
> Secondly, if product_weight is used in first place, what is the
> significance of shipping_weight and which one should be used to calculate
> the shipping options (shipping methods and shipping cost) in general?
> Please let me know if I misunderstood the change.
> Thanks in advance.
Coherent Software Australia Pty Ltd
PO Box 2773
Cheltenham Vic 3192
Phone: +61 3 9585 6788