I had a few problems with this module but I've fixed them with the attached patch. They were:
- product-specific rate overrides didn't work (see http://drupal.org/node/541384)
- using "-1" to revert to the default shipping value for a specific product
- displaying the default rate when editing a specific product.

I'd love it if people would test and use this and let me know if I missed anything...

Comments

bdimaggio’s picture

Next version -- attribute costs should now be accounted for when calculating shipping. Also fixed a problem (with my previous patch) whereby products with different rates were all ultimately getting their rates set by the last product in the order.

khalemi’s picture

Status: Active » Closed (fixed)
leon kessler’s picture

Status: Closed (fixed) » Needs work
StatusFileSize
new2.66 KB

I can't see how your patch can implement product override rates, there is no db_query to the uc_minpercentrate_products table.

Here's my own take on how it should be done.

Also, I think the module currently works out if the rate is below the base rate is incorrect.

At the moment, it is worked within the order products loop, so a base rate is applied on a per-product basis and not on the total order.

I've attempted a quick fix at that with this patch too.

Thanks

Leon