Login  Register

Re: Price Rule simple question?

Posted by Walter Vaughan on Feb 18, 2007; 12:22pm
URL: http://ofbiz.116.s1.nabble.com/Price-Rule-simple-question-tp144630p144632.html

David E. Jones wrote:

> On Feb 17, 2007, at 9:15 AM, Walter Vaughan wrote:
>> One category that I am not sure of is a party classification that  
>> gets 10% off retail, 15% over a certain order amount, 20% off over  an
>> other amount, and so on up to 30% off. I am pretty sure I would  
>> handle them with a global price rule of -10 off of default prices,  
>> and apply a promotion based upon order amount to get them the rest  of
>> their discounts.
>>
>> What not clear would be how to use
>> https://host_name:8443/catalog/control/createProductPromoAction
>> I see that I can set a rule based upon Cart Subtotal
>> and there is an action for Order Percent Discount,
>> but it's not clear which box would get the value...?
>> Quantity,Item, or Party? None seem right
>
> Quantity would be the one where the value goes.

 From looking at the Demo data
(catalog/control/EditProductPromoRules?productPromoId=9011) the amount of
discount should be in the Amount: box

I still cannot get it working, but I'll keep fiddling around till I get it to
run a promotion based upon cart total and party classification.


>> What really monkeys this up (my apologies to any monkeys on the  list)
>> is that after I get this rule working, I have a exception for  a
>> category of products that are limited to 10% regardless of amount  of
>> order total.
>
> What is that actual error you are getting?

Its not an error yet :) What I can't wrap my head around it how to handle the
case where the customer is entitled to an additional discount based upon the
value of items in the cart, yet they are not entitled to recieve that additional
discount percentage for all the items in the cart.

                   10% off     5% Promo
Part    Retail     PriceRule   Qty   over $500 Total
A $10   $9 10 0 $90
A $10   $9 70 35 $595
B $10   $9 10 0 $90
B $10   $9           70 0        $630

So if a customer had 70 of partA and 70 of partB which is exempt from any more
discounting, their cart total should be $1225, not $1260

I guess I need to get a promo I created working, before I worry about the
exception to the promo :)

--
Walter