Hi,

Ryan pointed me to your module (http://www.ubercart.org/issue/5630/handling_fees). Think it's going to be a popular one. Because I couldn't find a module to do this before I hacked the uc_discounts module a bit.

That way the infrastructure build into the discounts can also be used for fees. For instance with the taxonomy discounts helper module it's very easy to setup a fee (negative discount) for certain products. Or if you want just an overall handling fee u can set up a fee for an order total > 0.01, etc etc.

Eventhough the discount module still is very buggy (haven't managed to get two conditions to work for one action, ie. >2 and <5 items etc) it worked for me and if the conditions bug is ironed out the possibilities are endless!

Here's what I've done; http://www.ubercart.org/forum/support/6258/required_fees_are_automatical...
I'm a newcomer to Drupal but maybe this will give you some ideas for your module?

Good luck and thanx :)

Comments

mrfelton’s picture

Status: Active » Closed (fixed)

Thank you for the suggestions. I've now reworked this module so that it uses the conditional actions interface to apply fees. I have also added some of the features found in uc_discounts, like exclusive fees and the ability to enable/disable fees at the global level.