[jira] [Comment Edited] (OFBIZ-12227) Product Discount Service doesn't respect "Use cart quantity" option

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

[jira] [Comment Edited] (OFBIZ-12227) Product Discount Service doesn't respect "Use cart quantity" option

Nicolas Malin (Jira)

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

Danny Trunk edited comment on OFBIZ-12227 at 4/22/21, 3:16 PM:
---------------------------------------------------------------

Hm. I did a clean clone of [https://github.com/apache/ofbiz-framework,] applied my changes and made the patch with git diff.

 

[https://github.com/apache/ofbiz-framework/blob/trunk/applications/product/groovyScripts/product/promo/ProductPromoActionServices.groovy#L246]

 

quantityDesired is still hardcoded to BigDecimal.ONE if no quantity is specified


was (Author: dtrunk90):
Hm. I did a clean clone of [https://github.com/apache/ofbiz-framework,] applied my changes and made the patch with git diff.

> Product Discount Service doesn't respect "Use cart quantity" option
> -------------------------------------------------------------------
>
>                 Key: OFBIZ-12227
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-12227
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product
>    Affects Versions: Trunk
>            Reporter: Danny Trunk
>            Assignee: Michael Brohl
>            Priority: Major
>              Labels: promo
>         Attachments: OFBIZ-12227.patch
>
>
> I'm not sure if this is a real bug, but as no one answered to [my mail from the mailing list|https://lists.apache.org/thread.html/ra2128153a651ac238a37dc1d8121a4fa26f936268cbee08da30806bf%40%3Cdev.ofbiz.apache.org%3E] I created this issue providing a patch.
> The mail contains the problem description and all information needed to reproduce it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)