[OFBiz] Users - Promos: PPIP_PRODUCT_QUANT forces PPC_EQ

Si Chen schen at graciousstyle.com
Tue Jun 28 14:15:48 EDT 2005


Might it be nice to use this for tiered pricing (QTY 1 to 5, $10; 6 to 
10, $9, etc.)?  Si

David E. Jones wrote:

>
> Before getting into this too much, you may want to consider what it  
> would mean to have anything other than equals for this... For  
> example, if it was greater than a certain amount then and it  
> "consumed" the qualifying amount then you would consume everything...
>
> In other words, this implies that quantity or greater, but it only  
> consumes the given quantity...
>
> Adding flexibility is fine, but it helps if it has meaning, and in  
> this case I'm not sure what that would be.
>
> -David
>
>
> On Jun 28, 2005, at 11:22 AM, Ashish Hareet wrote:
>
>> For PPIP_PRODUCT_QUANT condition the desc reads "X Quantity of  
>> Product" & I can digest that the PPC_EQ
>> operator is forced on this condition.
>>
>> The question is, shouldn't we have a new condition say, "Quantity  of 
>> Product" which will use
>> the operators selected by the user. Likewise for PPIP_PRODUCT_AMOUNT.
>>
>> The promo rules code is pretty strong & very few modifications can  
>> get this in place.
>>
>> I came across this while implementing my tiered pricing as promos 
>> (stuff I'd been bugging about
>> for the last month or so...). I've implemented it slightly  
>> differently but, are there any plans
>> to implement something that I've suggested.
>>
>> Most of the promo conds reserve the items such that they cannot be  
>> used in other
>> conditions(barring PPIP_PRODUCT_TOTAL). Shouldn't there be a flag 
>> (probably in the entity)
>> that'll let the code know whether to reserve the items or not. This  
>> would make promos
>> more flexible & increase the possibilities.
>>
>> Also, the promo screens can be made more intuitive by restricting  
>> the operator choices
>> based on the conditions selected. I had a tough time with  
>> PPIP_PRODUCT_QUANT,
>> till I dug into the code.
>>
>> Just my thoughts on how OfBiz can get better.
>>
>> Thanks
>> Ashish Hareet
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.ofbiz.org
>> http://lists.ofbiz.org/mailman/listinfo/users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>


More information about the Users mailing list