Hi all,
is it possible to create promotions (discounts) that are applied to the same item one after the other? For example: promo1 = 20% discount promo2 = 10% discount If I create an order item with amount = 500 I'd like to have promo1 applied to it: 20% of 500 = 100 So 500 - 100 = 400 And then promo2 applied to the result: 10% of 400 = 40 Total discount: 100 + 40 Thanks for your help! Jacopo _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Jacopo,
I think if you create multiple promotions they will be applied this way. Si Jacopo Cappellato wrote: > Hi all, > > is it possible to create promotions (discounts) that are applied to > the same item one after the other? > For example: > > promo1 = 20% discount > promo2 = 10% discount > > If I create an order item with amount = 500 > I'd like to have promo1 applied to it: > 20% of 500 = 100 > So 500 - 100 = 400 > And then promo2 applied to the result: > 10% of 400 = 40 > Total discount: 100 + 40 > > Thanks for your help! > > Jacopo > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
In reply to this post by Jacopo Cappellato-2
If I remember right the promotions calculations are all handled independently, in other words all percentages are based on the items sub-total and don't compound. This was done because there is no facility to specify in which order the promotions are applied, and if compounded like this the order makes a big difference. It does get a bit complicated and a lot more options could be introduced to the promotions stuff to make them even MORE complicated, like an explicit application order (be careful there though... if they aren't applied in the order that maximizes value to the customer, sometimes they get a little bit ticked off... so for the most part the promo stuff is coded to be the most generous to the customer), or another feature that could be added is to specify for each percentage whether it includes various other promotions or not (this could lead to quite complicated promotion interaction settings...). -David On Sep 14, 2005, at 4:20 AM, Jacopo Cappellato wrote: > Hi all, > > is it possible to create promotions (discounts) that are applied to > the same item one after the other? > For example: > > promo1 = 20% discount > promo2 = 10% discount > > If I create an order item with amount = 500 > I'd like to have promo1 applied to it: > 20% of 500 = 100 > So 500 - 100 = 400 > And then promo2 applied to the result: > 10% of 400 = 40 > Total discount: 100 + 40 > > Thanks for your help! > > Jacopo > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users > _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users smime.p7s (3K) Download Attachment |
Si and David,
thanks for your feedback. I've created a Jira issue to keep track of this: http://jira.undersunconsulting.com/browse/OFBIZ-495 Jacopo David E. Jones wrote: > > If I remember right the promotions calculations are all handled > independently, in other words all percentages are based on the items > sub-total and don't compound. This was done because there is no > facility to specify in which order the promotions are applied, and if > compounded like this the order makes a big difference. > > It does get a bit complicated and a lot more options could be > introduced to the promotions stuff to make them even MORE complicated, > like an explicit application order (be careful there though... if they > aren't applied in the order that maximizes value to the customer, > sometimes they get a little bit ticked off... so for the most part the > promo stuff is coded to be the most generous to the customer), or > another feature that could be added is to specify for each percentage > whether it includes various other promotions or not (this could lead to > quite complicated promotion interaction settings...). > > -David > > > On Sep 14, 2005, at 4:20 AM, Jacopo Cappellato wrote: > >> Hi all, >> >> is it possible to create promotions (discounts) that are applied to >> the same item one after the other? >> For example: >> >> promo1 = 20% discount >> promo2 = 10% discount >> >> If I create an order item with amount = 500 >> I'd like to have promo1 applied to it: >> 20% of 500 = 100 >> So 500 - 100 = 400 >> And then promo2 applied to the result: >> 10% of 400 = 40 >> Total discount: 100 + 40 >> >> Thanks for your help! >> >> Jacopo >> >> _______________________________________________ >> Users mailing list >> [hidden email] >> http://lists.ofbiz.org/mailman/listinfo/users >> > > > ------------------------------------------------------------------------ > > > _______________________________________________ > Users mailing list > [hidden email] > http://lists.ofbiz.org/mailman/listinfo/users _______________________________________________ Users mailing list [hidden email] http://lists.ofbiz.org/mailman/listinfo/users |
Free forum by Nabble | Edit this page |