Thanks Bilgin, Scott.
This is the setQuantity method that I missed :)
I hope from now I will be able to set promotions as well.
Thanks again,
On Dec 15, 2007 4:37 PM, Bilgin Ibryam <[EMAIL PROTECTED]> wrote:
>
>
> Vikas,
>
> If you follow the code you will that Scott is right.
>
> Here are the main points when adding item to cart for a sales orders:
>
> ShoppingCartHelper.addToCart
> ShoppingCart.addOrIncreaseItem
> ShoppingCartItem.makeItem
> ShoppingCartItem.setQuantity
>
>
> // apply/unapply promotions
> if (triggerExternalOps) {
> ProductPromoWorker.doPromotions(cart, dispatcher);
> }
>
> Bilgin
> --
> View this message in context:
> http://www.nabble.com/Understanding-Product-Promotions-tp14335493p14349849.html
> Sent from the OFBiz - User mailing list archive at Nabble.com.
>
>
--
Vikas Mayur