You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2009/10/19 22:58:59 UTC

[jira] Commented: (OFBIZ-1560) Promotion rule for quantity discount not working

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

Jacques Le Roux commented on OFBIZ-1560:
----------------------------------------

Hi Raj, Jennifer,

I had a look tonight and here are some remarks.

I did not apply Jennifer's patch yet. What I did was setting a promotion as described Raj :

I used as condition "X Quantities Product" Is Greater Than or Equal is <Qty = 10> 
and Conditions Products: include WG-5569 - Tiny Chrome Widget 

as action "X Product for Y Discount" <Amount = 10>
and Actions Products: Tiny Chrome Widget [WG-5569] - Include 

And here are the results I got :
The promo is not applied until I put more than 10 (despite Greater Than or Equal is <Qty = 10>), when I put at least 11 WG-5569, I get a US$ 10 promo. If you put one more product you still get only the US$ 10 promo, etc.

I also tried to apply the same conditions with the actions
as action "X Product for Y Discount" <qty = 10> <Amount = 10>
and Actions Products: Tiny Chrome Widget [WG-5569] - Include 

It works as you get US$ 10 promo for each product you buy after the tenth. eleventh : US$ 10 promo, twelfth  : US$ 20 promo, etc.

Also Jennifer, was the change you did fixing the issue Raj reported or was it for another reason ?

> Promotion rule for quantity discount not working
> ------------------------------------------------
>
>                 Key: OFBIZ-1560
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-1560
>             Project: OFBiz
>          Issue Type: Bug
>          Components: product, specialpurpose/ecommerce
>    Affects Versions: SVN trunk
>         Environment: Firefox 2.0, Ubuntu 7.10
>            Reporter: Raj Saini
>            Assignee: Jacques Le Roux
>            Priority: Minor
>         Attachments: OFBIZ-1560.patch
>
>
> Promotion rule for quantity discount does not work properly. For example if the X product in shopping cart has Qty >= Y, apply  Z% discount to all the quantities in the shopping cart. 
> I have created the following action to achieve the above:
> X Product for Y% discount - Can get the discounted price but this promotion applies to every item i.e. it does not consider the minimum quantity limit.
> If I create the following condition:
> X quantity of Product  - It does apply the minimum quantity condition but applies discount to the item above X. 

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.