Hello Ankit,

I agree with the need to have this enhancement in the current promotion
engine of Apache OFBiz.

And yes, Chandan's suggestion looks good to start with. Once we have a
working solution on this, we can discuss if this needs some tweaking to
support multiple scenarios.


Thanks & Regards,
Devanshu Vyas


On Fri, May 23, 2025 at 4:14 PM Chandan Khandelwal <
chandan.khandel...@hotwaxsystems.com> wrote:

> Hello Ankit,
>
> This is a very common and practical use case. Adding a *maximum discount
> cap* to *Cart Range Percent Discount* would be a valuable enhancement and
> aligns with standard business needs.
>
> As an initial thought, extending or leveraging the existing
> ProductPromoAction (e.g., adding maxDiscountAmount) and related support in
> the promotion engine seems like a possible approach.
> Kind Regards,
> Chandan Khandelwal
>
>
>
> On Mon, May 19, 2025 at 4:51 PM Ankit Joshi <ankit.jo...@hotwaxsystems.com
> >
> wrote:
>
> > Hello Community,
> >
> > I wanted to bring up a use-case scenario that I am implementing, which is
> > identified oftenly while working with a few clients.  It seems to be a
> > generic use case and good to address as a possible support in OFBiz
> > promotion engine:
> >
> > In the current OFBiz setup, when configuring a *Cart Range Percent
> > Discount*
> > for promotions, there doesn’t seem to be an out-of-the-box option to
> > set a *maximum
> > discount cap*. For instance, if the business wants to offer a *15%
> > discount*
> > on the cart total, but with a *maximum discount limit of $100*, the
> system
> > currently applies the percentage across the total cart value without a
> > ceiling.
> >
> > This kind of feature is quite common in promotions where businesses want
> to
> > incentivize larger purchases with a discount but also want to control the
> > maximum discount exposure.
> >
> > I am curious if anyone has encountered this requirement before and if
> there
> > are any existing implementations or customizations that could address it.
> > Alternatively, it would be great to discuss potential ways to extend the
> > current promotion engine to support this use case.
> >
> > Looking forward to your valuable inputs!
> > Thanks & Regards,
> > Ankit Joshi
> >
> > *HotWax Systems*
> > *Enterprise open-source experts*
> > http://www.hotwaxsystems.com
> >
>

Reply via email to