Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Buy one get different product for free

Buy one get different product for free

Locked

Views: 1,628

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
1 May 2008, 3:13 PM
#1
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Buy one get different product for free

Hello to All

My question is,

I would like to give a free t-shirt with the purchase of a cologne is there a mod to do this or is ther another way to do it, ive been looking around but some come close to what i want to do but goes somewhere else not sure if im putting right info into search

the t-shirt is also available for purchasing

1 May 2008, 3:18 PM
#2
fairestcape avatar

fairestcape

Totally Zenned

Join Date:
Mar 2008
Location:
Cape Town & London (depends on the season)
Posts:
2,957
Plugin Contributions:
0

Re: Buy one get different product for free

Send a PM to SWGUY... this is his area of expertise.

1 May 2008, 4:29 PM
#3
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,691
Plugin Contributions:
56

Re: Buy one get different product for free

Start with Better Together from the downloads area.

2 May 2008, 1:06 PM
#4
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: Buy one get different product for free

Thanks for getting back to me
will check it out

2 May 2008, 3:25 PM
#5
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: Buy one get different product for free

The Better Together mod is what Im looking for but now i tried to add the links where it says // Add all linkages here

and I did it this way:
$this->add_prod_to_prod(24, 30, "%", 100);
Is prod the id# of the product because the shirt doesnt show up on the sale.

what Im trying to do is:
I have a cologne for sale which is prod 30, now I want to give a t-shirt that Im also selling for free which is prod 24 they are both in sub categories,
one is T-shirts the Other is Fragrance, now the Fragrance and the T-shirts are in another category called Fashion, Is the way I have the code set up correct or do I use Promo Combo for this type of sale

2 May 2008, 3:31 PM
#6
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,691
Plugin Contributions:
56

Re: Buy one get different product for free

24 and 30 should be the product ids of the shirt and the fragrance. Add both to cart, check to be sure Better Together is enabled in admin/modules/order total, got to checkout page 2 and you should see your discount.

2 May 2008, 4:44 PM
#7
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: Buy one get different product for free

OK that worked perfect just didnt understand how the mod worked thought it was suppose to add automatically other than purchasing both products.

Thanks

Is there a way to rename the better together at check out so that it says free product

2 May 2008, 7:34 PM
#8
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,691
Plugin Contributions:
56

Re: Buy one get different product for free

One of the files in the contribution is under includes/languages/english - this one has all the text strings.

6 May 2008, 2:16 PM
#9
mdee avatar

mdee

New Zenner

Join Date:
Aug 2007
Posts:
16
Plugin Contributions:
0

Re: Buy one get different product for free

Thanks fairestcape and swguy
for your help