[OFBiz] Users - Promotions

David E. Jones jonesde at ofbiz.org
Fri Jun 10 16:52:41 EDT 2005


You should remove the condition to get what you want, or that's what  
it sounds like anyway. The rule you created is saying "buy 1 get 1  
for $0", or more verbose: if you buy 1 then you will get 1 for $0.  
What you want is just "get 1 for $0".

Note that this requires that the item be in the cart already. You may  
want to consider doing a Gift With Purchase (GWP) which will actually  
add the item to the cart.

-David


On Jun 10, 2005, at 2:47 PM, Manuel Meyer wrote:

> Hi all!
>
> I am trying to use the promotion, but cannot find the right way to  
> use them
> for my peculiar problem.
>
> I have a product ref. ABCDE, and I would like to create a promotion  
> code
> that, when entered, set 1 ABCDE to price 0.
>
> I've defined the following:
> Condition:
> when X quantity of product is 1
> Condition product include ABCDE
> Action:
> X product for price Y Quantity 1 amount 0
> action product include ABCDE
>
>
> If I add 2 ABCDE in my cart, the code set 1 to price 0, but if I  
> add only 1,
> the code does nothing.
> I've spend a couple of hours looking at the code, and I have the  
> impression
> that the same product cannot be chosen as condition and action.
> Or maybe I am not using the right promotion condition/action but I  
> really do
> not see what else to use.
>
> Any idea?
> Thanks a lot for your answers,
> Manuel
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.ofbiz.org
> http://lists.ofbiz.org/mailman/listinfo/users
>



More information about the Users mailing list