Re: Prevent promo discount when there is already a per order disount

2022-11-17 Thread Michael Brohl
Thanks Giulio, that confirms the results of our analysis. We will now implement a relatively easy solution by extending the PromoCode entity with a new flag which says that it can only be used exclusively per order. The validation when entering a promo code will be enhanced to check - if ei

Re: Prevent promo discount when there is already a per order disount

2022-11-17 Thread Michael Brohl
Thanks, Ashish, I'm fine, hope the same for you as well! Thanks for the references. We've already analyzed and configured the promotions engine but could not find an ootb solution for our use case. According to Giulio's response it seems there is currently no option for it and we'll have to

Re: Prevent promo discount when there is already a per order disount

2022-11-17 Thread Giulio Speri - MpStyle Srl
Good morning Michael, as per our experience using OFBiz e-commerce with promotions and promo rules I can tell that there is no direct way to reach that "mutual exclusion" for promotions. Indeed the ProductPromos available on the store are processed one after another, evaluating each by itself; so

Re: Prevent promo discount when there is already a per order disount

2022-11-16 Thread Ashish Vijaywargiya
Hello Michael, I hope you are doing well. Please refer to the following document written by Jacopo: https://www.hotwaxsystems.com/ofbiz/ofbiz-development/product-promotion-engine/ I am not saying that this document will solve your use case but will help you think on this side as well. After this

Prevent promo discount when there is already a per order disount

2022-11-16 Thread Michael Brohl
Hi everyone, is there an out-of-the-box solution for the following promotion scenario: Prevent a per product or product category promotion if there is already a per order promotion active. So if there is already an order percent or flat amount discount, any other (additional) promotions shou