[jira] [Commented] (OFBIZ-10888) Multiple promotions are getting applied in sequence.

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (OFBIZ-10888) Multiple promotions are getting applied in sequence.

Nicolas Malin (Jira)

    [ 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:
---------------------------------------

Hi,

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% discount
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.

Thanks!

> 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
(v8.3.4#803005)