...and ignores units set per product. This resulted in some very expensive shipping quotes when the site default was kg but some products had weights in grams! Changing $node->weight_units to $product->weight_units in line 238 of uc_weightquote.module seems to have fixed things. Attached a patch against the current d6 version for review.

CommentFileSizeAuthor
uc_weightquote.module.patch685 bytescorporatebastard
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Island Usurper’s picture

Status: Needs review » Fixed

Good catch! Thanks, and committed.

Status: Fixed » Closed (fixed)

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