Forums / Setting Up Specials and SaleMaker / buy one of "X" get a "Y" free (or discounted) sale

buy one of "X" get a "Y" free (or discounted) sale

Locked

Started by surlyjake on 28 Dec 2007, 12:51 AM · Views: 3,711

Results 1 to 10 of 10
This thread is locked. New replies are disabled.
28 Dec 2007, 12:51 AM
#1
surlyjake avatar

surlyjake

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

buy one of "X" get a "Y" free (or discounted) sale

I'm trying to create a sale that will discount item "Y" when item "X"+"Y" are in the cart. e.g:

Motherboard: $100
CPU: $100
monitor+CPU= 150.

The modules dont seem to support this. any ideas?

28 Dec 2007, 12:59 AM
#2
swguy avatar

swguy

Administrator

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

Re: buy one of "X" get a "Y" free (or discounted) sale

This is what Better Together does. Check the downloads area.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 Dec 2007, 1:05 AM
#3
surlyjake avatar

surlyjake

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: buy one of "X" get a "Y" free (or discounted) sale

Then again, i could use a reading lesson. thanks swguy. will better together 1.6 have a problem in a 1.3.5 install?

YES!!!

edited bc. i asked another stupid question. thanks swguy

28 Dec 2007, 1:08 AM
#4
swguy avatar

swguy

Administrator

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

Re: buy one of "X" get a "Y" free (or discounted) sale

Better Together 1.6 is fine with Zen Cart 1.3.5 as long as it was a clean install or a proper upgrade. One person reported a problem but she had not upgraded correctly from 1.3.0.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 Dec 2007, 1:11 AM
#5
surlyjake avatar

surlyjake

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: buy one of "X" get a "Y" free (or discounted) sale

attributes with stocks mod will still work?

28 Dec 2007, 5:53 AM
#6
swguy avatar

swguy

Administrator

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

Re: buy one of "X" get a "Y" free (or discounted) sale

OT modules are pretty self contained, so AFAIK yes.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

28 Dec 2007, 6:07 AM
#7
surlyjake avatar

surlyjake

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: buy one of "X" get a "Y" free (or discounted) sale

I have installed it, have the module activated, and have edited the ot_better_together.php setup(). but i cannot get any affect. i tried it using cat_to_cat and couldn't get it to work (and yes, i minded the difference between parent&top level category ID's. I used the parent ID's). When cat2cat didn't work, I specified two individual products using their product ID's, and tested by adding them both to a cart. no result whatsoever.

where can I even begin to troubleshoot what the issue could be? there aren't any php errors on the shopping cart screen. I haven't added the code to tpl_product_info_display.php yet, could THAT point me in the right direction?

FYI. I am using a dual pricing mod for wholesale pricing... and I use the stocks by attributes mods.

Thank you for your time.

28 Dec 2007, 6:38 AM
#8
swguy avatar

swguy

Administrator

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

Re: buy one of "X" get a "Y" free (or discounted) sale

You know this is an order total module and you have to go to the second page of checkout to see the discount, right?

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

29 Dec 2007, 3:24 AM
#9
surlyjake avatar

surlyjake

New Zenner

Join Date:
Sep 2006
Posts:
17
Plugin Contributions:
0

Re: buy one of "X" get a "Y" free (or discounted) sale

:oops:well... i do now. thank you. I have it up and running now.:clap:
just some notes:

1.something that tripped me up was the path for includes/templates/CUSTOM/templates/tpl_better_together_marketing.php.
It might be worth documenting that "custom" should be changed to the propper name of your template. I know its obvious to the seasoned, but not to the noobs or those in a rush. (i qualify as both)

  1. you might want to note is that you can adjust size, color, and otherwise with your template's css by adding
#betterTogetherDiscountPolicy{
font-weight: bold;
}

to your CSS. This will help make the marketing announcement more visible (i put mine in huge red letters!)
3. The readme says:

The easiest way to do this
is to open a shopping cart in another window, and just start adding
discounts...
maybe this would be a good place to say "open up a shopping cart, and go to the checkout page". Just one more way your Readme can help me overcome my slowness :wink:

  1. It would be helpful to add a notification to the end of the marketing line. i.e. "discount taken at checkout, it is not visible in the cart". Personally, I would prefer it to be a separate string that i could put on a second line, and could control through css separately from the rest of the line.

I might have to hit you up for the rest of the code to include the discount while viewing the cart. Thanks again for your help and your expertly commented code.

29 Dec 2007, 12:24 PM
#10
swguy avatar

swguy

Administrator

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

Re: buy one of "X" get a "Y" free (or discounted) sale

Some of these things are in the extended help on my home page.

http://www.thatsoftwareguy.com/zencart_better_together.html

Take a look at this for more marketing ideas.

(1) is an excellent point, and in fact, it's in the READMEs for the newer things I've done; I just didn't add it to my earlier contributions. It's a very easy common mistake for new people.

Thanks,
Scott

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.