Hi,
Several shops I (or I will) maintain have serious discount issues. There is the coupon discount module I developped or the discount module, but no one can fit complex needs. Mine only provide discount via coupons, and shows discount only on checkout. The others is abandonned and nobody seems to want to work on it. In addition, I think, as this module was written on the begining of ubercart, it would be better to start from scrach use more the ubercart API.
That's why I'm planning to (try) to write an ultimate discount module, something powerfull enought to fit most of store owner needs, I think I will develop this module for drupal 6.
To do the job well, I need several advices from the ubercart dreamteam.
In a quick brainstorming, I thought to implement the discount system as the tax system. Regarding through the tax system, you have a form in which you set on what you want to apply a tax, and then, you can define conditions via conditional actions.
I thought use the same system for discounts, provide a powerfull form in which you can precisely choose which product (class, individual product, product in a taxonomy term, etc...) you want to apply a certain discount amount, and then, manage the conditions via conditional actions (to restrict a discount on a user, order total amount, etc...)
Do you think it is a good way to go ? For the already implemented conditions, I noticed that they all are related to orders. It will be possible to use these conditions before ? for example on a node page, to directly show the discounted priced to customers in the product page if he fill the conditions ?
Another question : I would like to apply discount per product, no as a line item. Because, in the case you set up different discounts, for different products, adding a single discount line item is confusing for the user that don't know exactly what is discounted. This way would oblige me to alter the sell price of the product, do you think it's a good solution ?
If you have some more experience to share, warning or advices to give, don't hesitate.
Thank you for future reply
zmove






Joined: 08/13/2007