When the admin (or another authorized user) edit the order in the admin/store/orders/%order_id/edit page, he can add or remove some products and calculate the shipping quotes again. But actually the quotes calculated here are based from the products that the user has in their cart, not the items from the order being edited.

I don't know why the module has a comment saying that $products array, in the hook_quote function, won't work. I made some tests using the $products variable and cannot found any problems with it.

if there is none problem with the $products, so this attached patch should fix the bug.

Comments

wundo’s picture

Assigned: Unassigned » wundo
Status: Active » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.