Robert Morley wrote:
> We have not implemented promos to date, but can you comment on how the
> promo adjustments would be created for a quantity like 1.542?  I would
> agree rhat having a single adjustment for the order item line (per
> promo) would make the most sense.

You misunderstand.  Add stock for 5000 items for a PROMO_GWP.  Add
enough stock for the parent item too.  Then add a quantity of 'two
thousand' on the original product.  Watch ofbiz fall over.

I think you are interpetting the ',' as a '.'.

> 
> Bob
> 
> On 2010-04-28, at 1:16 PM, Ean Schuessler <[email protected]> wrote:
> 
>> The OFBiz promo code processes product quantities as singletons. If a
>> large quantity of an item is added to the cart (ie. 2,000) and there is
>> a promo for that product then the result is both a large quantity of
>> promo adjustments as well as a long processing time for the cart. For
>> some industries large order quantities are perfectly reasonable but the
>> current OFBiz design will fail.
>>
>> Does anyone have any perspective on this issue? One possible solution
>> would be to remove the part of the promo design that reduces promo items
>> to singletons. I realize that introduces other challenges but they seem
>> to be deterministic. The singleton processing approach seems like an
>> effort to keep the implementation simple.
>>
>> -- 
>> Ean Schuessler, CTO
>> [email protected]
>> 214-720-0700 x 315
>> Brainfood, Inc.
>> http://www.brainfood.com
>>

Reply via email to