I was just wondering if it had been intended in ofbiz to implement actions in
an AND or an OR manner?

I have tried the ff scenario in ofbiz:

promo

1. no conditions
2. action 1 : X Product for Y Price qty = 2 amount = 5 product = GZ-1004
    action 2 : X Product for Y Price qty = 1 amount = 5 product = GZ-2002

if the order created has the ff order items

GZ-1004 qty = 2 Total = 5
GZ-2002 qty = 1 Total = 5

giving a Cart Total: 10 which I know to be correct.

If I changed the order to only have one order item:

GZ-1004 qty = 2 Total = 5

which shows that action 1 of the promo was implemented without requiring the
implementation of action 2.

wouldn't it be more correct to not apply the promo because condition implied
by the promoActions, that there should 2 of GZ-1004 and 1 of GZ-2002, are
not satisfied?

Thanks for any clarification on the matter.
-- 
View this message in context: 
http://n4.nabble.com/ProductPromoAction-implementation-AND-or-OR-tp787414p787414.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to