Site maintenance: Sun 15 Nov, from 20:00 UTC, about 4–6 hours. Details

This cutover relies on some testing that is still incomplete so may be cancelled at short notice

Forums / Setting Up Specials and SaleMaker / "Buy 2 Get 1 Free"

"Buy 2 Get 1 Free"

Locked

Started by andrabr on 10 Feb 2007, 6:18 AM · Views: 7,768

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
10 Feb 2007, 6:18 AM
#1
andrabr avatar

andrabr

New Zenner

Join Date:
Jan 2007
Posts:
36
Plugin Contributions:
0

"Buy 2 Get 1 Free"

The formula in the subject is very traditional and rather popular in its various incarnations. The general case is "Buy X items of the SAME product and get item X+1 with a discount of Y, no discount on item X+2".

I have looked at "better Together and Qty Discount mods and still cannot figure out a way to do this.

There is a horrible kludge of using many many levels of the standard Qty Discounts and back calculating the values for every quantity, but that sucks ***.

I have tried it for demo purposes: in the attached screen shot it's $10 for 1 item, but $16 for two, ($10+$6)+$10 for 3, and so on. Just look at the discount table and feel the pain. :down:

Please do not ask me why I want it this way: I do not but I have to ?(a manufacturer wants to roll out a specific promotion ).

Help?

11 Feb 2007, 7:58 PM
#2
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: "Buy 2 Get 1 Free"

Zen Cart doesn't have native support for "Buy X, Get Y Free" sales. However, the new observer system in Zen Cart allows you to do this kind of thing on your own.

Check out this article in the Zen Cart wiki. Do a text search for "Another Real World Example" to find the start of the coding example for a BOGOF (buy one get one free). It's only for one, but you could easily modify it for a purchase minimum of 2.

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

16 Feb 2007, 1:13 AM
#3
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

Re: "Buy 2 Get 1 Free"

has anyone implemented ? I'm looking to implement this for a client and am looking for feedback on it. The notes after the code mention some concerns...

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.

17 Feb 2007, 10:40 AM
#4
sn0ut avatar

sn0ut

New Zenner

Join Date:
Oct 2005
Location:
UK - London
Posts:
56
Plugin Contributions:
3

Re: "Buy 2 Get 1 Free"

I think this is one of the very saught after mods for zen. I do not have enough knowledge to do it but someone must!

20 Feb 2007, 4:11 PM
#5
blindside avatar

blindside

Totally Zenned

Join Date:
Sep 2004
Posts:
1,237
Plugin Contributions:
1

Re: "Buy 2 Get 1 Free"

sn0ut, did you even visit the link I included above? It describes how to do this, step by step.

virtualahmad, the listed concerns vary depending on your store setup (e.g. tax compliance), and you can certainly mitigate them as you build and implement this. Get the basic logic running, then make adjustments as necessary.

Frank Koehl
"Cleverly Disguised as a Responsible Adult"

frankkoehl.com

20 Feb 2007, 4:34 PM
#6
virtualahmad avatar

virtualahmad

Zen Follower

Join Date:
Jan 2006
Location:
Toronto, Ontario, Canada
Posts:
179
Plugin Contributions:
0

Re: "Buy 2 Get 1 Free"

I shone the "bat" light for help and https://www.thatsoftwareguy.com came to the rescue. He has a paid extension to one of his free modules which allows this.

VERY CHEAP (cost, not quality). Great guy to deal with as well.

Ahmad Rahman
TRUST IT | web site design and development
mobile: 416.828.0224 | email: [email protected]
www.trustit.ca

For IT solutions how you want IT, when you want IT, TRUST IT.