Raj 

You may be running into the same issue we are with quantities. Try this. 

Delete all your rules and actions and add them back into the promotion starting 
with the highest quantity first. I know it sounds crazy, but we are pretty sure 
we have uncovered a bug related to qty discounts and the only thing that seems 
to get around it is by putting the actions and rules in from highest to lowest 
qty. It seems as though the order the records are stored in the database 
matters. 

----- Original Message ----- 
From: "Raj Saini" <[EMAIL PROTECTED]> 
To: [email protected] 
Sent: Monday, December 17, 2007 9:36:12 AM (GMT-0700) America/Denver 
Subject: Re: Promotion rule for quantity discount 

Hi Scott, 

Thanks for fixing it quickly. However, I am half way of what I am trying 
to achieve. 

Action - X Product for Y% discount works for if the quantity is 10 or 
multiple of 10. For example if I add 12, the promotion is applied to 
only 10 and rest 2 are not included. Is it desired behavior? If yes, I 
am surely missing something more. 

I have created a test promo at demo.hotwaxmedia.com. Would be great if 
you can have a look on that. 

Thanks again for your kind help. 

Raj 

Action X Product for Y% discount 


Scott Gray wrote: 
> Fixed in rev. 604551 
> 
> Regards 
> Scott 
> 
> On 16/12/2007, Scott Gray <[EMAIL PROTECTED]> wrote: 
> 
>> Hi Raj 
>> 
>> It looks like a bug to me, X Product for Y Price works but X Product for 
>> Y% Discount doesn't respect the quantity as you said. 
>> 
>> I'll have a look at the code. 
>> 
>> Regards 
>> Scott 
>> 
>> On 16/12/2007, Raj Saini <[EMAIL PROTECTED]> wrote: 
>> 
>>> Sorry to repeat it again. Does someone have any clue to this? I am sure 
>>> this is possible, I am missing something trivial. 
>>> 
>>> Thanks, 
>>> 
>>> Raj 
>>> 
>>> Raj Saini wrote: 
>>> 
>>>> Hi, 
>>>> 
>>>> I am having difficulty in setting up promotion. Promotion I want to 
>>>> set up is: 
>>>> 
>>>> If the X product in shopping has Qty >= Y, apply 10% discount to the 
>>>> item. 
>>>> 
>>>> I tried: 
>>>> 
>>>> Action 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. 
>>>> 
>>>> Condition X quantity of Product - If I add this condition to the above 
>>>> action, it does apply the minimum quantity condition but applies 
>>>> discount to the item above X. 
>>>> 
>>>> I searched through the Google and found this 
>>>> http://lists.ofbiz.org/pipermail/dev/2004-October/006894.html . It 
>>>> 
>>> make 
>>> 
>>>> me sure that it is possible and I am missing something. 
>>>> 
>>>> Thanks, 
>>>> 
>>>> Raj 
>>>> 
>>>> 
>>>> 
>>> 
> 
> 

Reply via email to