Currently the system is not supported the multiples of in actions based on the condition for such kind of promotion, you will have to customize the code or you can add the multiple conditions/actions like this,

Cond1 : X quantity of product is greater than or equal to 2 && X quantity of product is less than 4
Action1: Gift with Purchase , Quantity 1 , Product X

Cond2: X quantity of product is greater than or equal to 4 && X quantity of product is less than 6
Action2: Gift with Purchase , Quantity 2 , Product X

Cond3 : X quantity of product is greater than or equal to 6 && X quantity of product is less than 8
Action3: Gift with Purchase , Quantity 3 , Product X
.
.
.
.

To understand the promotional conditions and actions logic refer this ProductPromoWorker.java file

Regards,
Mukesh Marathe

On 9/22/2011 1:04 PM, David E Jones wrote:
Did you try X Quantity of Product == 2?

Also, make sure you have enough of the GWP Product in stock.

-David


On Sep 22, 2011, at 12:28 AM, [email protected] wrote:

Correction below on the conditon
The condition is X quantity of product is greater than or equal to 2
My query is how is the system going to calculate BASED ON THE ABOVE CONDN,
multiples of 2.

Even if 4,6,8 quantites are there in the cart, it would give only 1
gift... how do I apply multiples of 2.

For 2 prods - gift 1
For 4 prods - gift 2
For 6 prods - gift 3
Regards
Debabrata Panda
Tata Consultancy Services
Mailto: [email protected]
Website: http://www.tcs.com
____________________________________________
Experience certainty.   IT Services
                        Business Solutions
                        Outsourcing
____________________________________________



From:
Deb Panda/TVM/TCS
To:
[email protected]
Cc:
[email protected]
Date:
09/22/2011 12:49 PM
Subject:
Re: Ofbiz Promotions
Sent by:
Deb Panda


Thanks for the prompt response... I already tried emptying the "Use Limit
per Order". Even for 4 products, it gives only 1 qty of gift rather that
2.
I am working on the Stable version...

Just walking through the condition,
If we keep the below condition, :X quantity of product is greater than 2
What is the difference if I have 2 qty in Cart or 6 in cart??

Also I would like to add the Weights/Features in Promo... Just was going
through the flow (doPromotions.java) etc...But doubtful how to go about
it?
Could you help draw a roadmap?? I would like to contribute on this.

Regards,
Debabrata Panda
Ph:+91-876-359-4004




From:
"pierre.gaudin"<[email protected]>
To:
[email protected]
Date:
09/22/2011 12:30 PM
Subject:
Re: Ofbiz Promotions



Hi
On 22/09/2011 07:44, [email protected] wrote:
Hello All,

I have started exploring the Promo, Section but could not find the
solution for below case.I am trying to implement the below case in
Promotions. I reckon this may have been addressed or already existent.

Case Study1:For every 2 products of Category A, get a product X free...
I tried the following Approach
Condn:X quantity of product is greater than 2, Condn Categories - All
include Subset - Y for Category A
Action:Gift with Purchase , Quantity 1 , Product X

The problem is when there are 4 products in cart of Category A, it is
still gifting only 1 quantity of Prod X.  The gift  quantity is not
increasing as per the multiples of 2...It is only giving one gift.
For 2 prods - gift 1
For 4 prods - gift 2
For 6 prods - gift 3
Gyst:How to apply the multiple of X quantity of product.
You should empty field "Use Limit Per Order"
Case Study2: Apply promotions, when Category A(e.g. Jewellery)
product(s)
net weight is greater than X gms.
Any configurable options..
At this time there is no promotion condition on weight or feature. It
could be a great improvement.

Pierre
Also as I am new, please let me know how to track new changes and if
possible help out with solutions.

Regards,
Debabrata Panda
=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you








Reply via email to