You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by Sumit Pandit <su...@tcs.com> on 2013/01/23 13:47:19 UTC

Promotion with multiple rules generate wrong description

Hi All, There are some discrepancies observed in auto generated promotion description for Promotions with multiple rules. Consider following scenario for a promotion having two promo rules: - 

Rule 1 : 
Cond 1: Cart Subtotal is > 50 
Action 1 : Product For 20% discount 
Action and Condition Product are same. 

Rule 2 : 
Cond 1: Total Amount of Product > 100 
Action 1 : Gift with Purchase 

Generated description : Spend more than $50 and get at 20% discount and or buy more than $100 of qualifying products and get a free Micro Chrome Widget [WG-1111]. 
The generated statement contains multiple and/or operators which also appear in conjunction for joining two rules which seems to be grammatically wrong. 

Opinions are invited on this regard. 

-- 
Thanks And Regards 
Sumit Pandit 
Tata Consultancy Services 
Cell:- 917503046188 
____________________________________________ 


=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain 
confidential or privileged information. If you are 
not the intended recipient, any dissemination, use, 
review, distribution, printing or copying of the 
information contained in this e-mail message 
and/or attachments to it are strictly prohibited. If 
you have received this communication in error, 
please notify us by reply e-mail or telephone and 
immediately and permanently delete the message 
and any attachments. Thank you