Forums / General Questions / "Better Together" help

"Better Together" help

Locked

Views: 704

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
4 Mar 2010, 2:10 AM
#1
dsdeiz avatar

dsdeiz

New Zenner

Join Date:
Feb 2009
Posts:
38
Plugin Contributions:
0

"Better Together" help

Hi!

So I recently installed Better Together. I have a product which is absolutely free. I have added the product in a new category called "Freebies". I then have:

$this->add_cat_to_prod(1, 1, '%', 100);

in which all products in category 1 gets the product 1 with a 100% discount (should i still add a discount even if the product is already free? my i ask how to just remove the discount?).

Also is it possible to make the category "Freebies" not accessible since I'd only want the product to be viewable once a buyer purchases a product from category 1?

Looking forward to your replies. :D

So far I'm really liking this better together module. Thanks to the author!

4 Mar 2010, 11:53 AM
#2
swguy avatar

swguy

Administrator

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

Re: "Better Together" help

It is possible but it's outside the scope of Better Together. Perhaps a better solution - which doesn't require extra code - is for you to price product 1 at a couple of bucks and then say "but free when purchased with an item from category 1".

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.

8 Mar 2010, 9:13 AM
#3
dsdeiz avatar

dsdeiz

New Zenner

Join Date:
Feb 2009
Posts:
38
Plugin Contributions:
0

Re: "Better Together" help

swguy:

It is possible but it's outside the scope of Better Together. Perhaps a better solution - which doesn't require extra code - is for you to price product 1 at a couple of bucks and then say "but free when purchased with an item from category 1".
Oh ok. Hmm, maybe I'll go with the "requirement of extra coding". Uhm, what would be the best way to do it? Is it possible with overriding? Or should I provide a patch for myself? :dontgetit