ofbiz-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lalit Dashora (Jira)" <j...@apache.org>
Subject [jira] [Commented] (OFBIZ-10888) Multiple promotions are getting applied in sequence.
Date Sat, 23 May 2020 12:31:00 GMT

    [ https://issues.apache.org/jira/browse/OFBIZ-10888?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114736#comment-17114736

Lalit Dashora commented on OFBIZ-10888:


I have replicated the issue but I didn't find any way to apply only one promotion. 
Created a promotion where if cart subtotal is greater then 1000 then system will give 50%
and also created another promotion if cart subtotal is less than 800 then system will give
10% discount.

Now the cart total is 1536 so 50% discount decreased cart value to 768 but second promotion
automatically applied i.e additional 10% discount also applied 76.8 is also discount so the
cart total now became 691.2.
I didn't find any alternate way to stop this. I am looking into code so that promotion can
be applied in isolation.


> Multiple promotions are getting applied in sequence.
> ----------------------------------------------------
>                 Key: OFBIZ-10888
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10888
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Lalit Dashora
>            Assignee: Lalit Dashora
>            Priority: Major
> Created 2 different promotions '50% discount on shopping above Rs. 1000' and '10% discount
on shopping between Rs. 400-700'
> Added the product of Rs. 1000 so the total discount will be Rs. 500 
> Now the total amount falls in the range of second promotion and again 10% discount is
getting applied.

This message was sent by Atlassian Jira

View raw message