Congratulations for this initiative! It's a great contribution to the UC. Although there is a module http://drupal.org/project/uc_discount that is bigger and gives you even more freedom, this module could be fantastic for a user friendly approach on setting discounts as follows:

PRODUCT PAGE (DISCOUNT tab)
- select multiple users (or roles) to set the discount of a different values
- example: John, Mary and Kate have 20% discount for this product and guys from Microsoft (role) have only 5% discount.

USER PROFILE PAGE (DISCOUNT tab)
- select multiple products (or product groups) to set the discount of a different values
- example: John has 20% discount for shoes and 30% discount for all clothing in the store, etc.

"Product groups" could be a selectable items of a given taxonomy.

If all of those values will be stored in a database, the approach could be very transparent and user friendly.

Comments

dave_______1’s picture

Hi Awebb,

This module seems to be just what we need, but we're using it on a "real world" site and I (and the rest of the team) have a few ideas.

Your using % only, but if we change the price of a product all the discounts change too, we would want the discount prices to stay the same.
Can you make it so % or number could be entered so $20 (or £20) would work?

You have put in "by user" and "by roll", but what if I want the discount to apply to everyone on the site? I have to add it twice, once for authenticated and once for anonymous.
Can you add a "everyone" radio button?

Lastly, you have a max and min qty that we have to add, but what about if I want the discount to apply to any product qty over 10?
Can you make it so it can have an open end max instead of having to type in 9999999999 as the max?

Thanks for creating such a great module and if I can help in any way please let me know.
Dave.

jg352’s picture

having 'All Users' setting would be useful.
also maybe no max quantity? I'm currently having to hack around this in the module...