Needs work
Project:
Ubercart Percent Rate with Minimum Rate
Version:
6.x-1.1-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Nov 2009 at 18:19 UTC
Updated:
28 May 2010 at 09:35 UTC
Jump to comment: Most recent file
Comments
Comment #1
bdimaggioNext 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.
Comment #2
khalemi commentedComment #3
leon kessler commentedI 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