
Originally Posted by
swguy
Re: 1 - not at this time.
Re 2 - the semantics (as implemented) of add_cat_to_cat(x) are "you get two for one on all items in category x" not "buy one item from category x, get another free". Of course, this is incredibly confusing given that the marketing text suggests the latter behavior.

Add_cat_to_cat gives you what (I think) you want.
Thanks,
Scott
Hi Scott,
I think I was not clear in my explanation... I'll try again 
My first attempt was with this code:
PHP Code:
// Buy any item from category 56, get a second identical one free
$this->add_twoforone_cat(56);
I could not get it to work on my cart, but I do have this working to do the same thing:
PHP Code:
$this->add_cat_to_cat(56, 56, "%", 50);
Am I missing something in the functionality? My site seems OK, but I'm just trying to figure out why I could not make the twoforone work. Got no discount on the category at all.
Thanks
Ray