Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
...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.
Comment | File | Size | Author |
---|---|---|---|
uc_weightquote.module.patch | 685 bytes | corporatebastard | |
Comments
Comment #1
Island Usurper CreditAttribution: Island Usurper commentedGood catch! Thanks, and committed.