be090129 / substruct

Automatically exported from code.google.com/p/substruct
0 stars 0 forks source link

Incorrect Shipping Rate incorrect when Order Line Item's weight exceeds "max rate" in Rate Tables #159

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add a product to your Cart
2. Increase the Order Line Item's Quantity so its total weight exceeds
highest "max rate" entered for the Shipping Rate Type.
3. Checkout as usual

What is the expected output? What do you see instead?
Expected:  Shipping Rate should be spread out across multiple "packages" at
the highest "max rate" available for the Shipping Rate Type.  For example,
if Total Weight is 22 pounds, and the highest "max rate" in the shipping
type's rate table is 10 pounds, the Order Line Item should be computed as 3
packages (10 pounds + 10 pounds + 2 pounds).

What I see:  the base shipping rate for the Shipping Type is used; i.e.
none of the Weight Variations are used to calculate a higher shipping rate.

What version of the product are you using? On what operating system?
Substruct 1.0a6 on Linux

Please provide any additional information below.

Original issue reported on code.google.com by rubyj...@gmail.com on 12 Jan 2009 at 11:01

GoogleCodeExporter commented 8 years ago
a patch to correct this issue is attached.

Original comment by rubyj...@gmail.com on 22 Jan 2009 at 2:30

Attachments: