Quote Originally Posted by countrycharm View Post
Hi Scott I'm getting half a info product page when I try to insert your code. Do I need to put each category I have between the 2 () or what.
Correct. But note that the function only supports one parameter, so you'll have to list each category. You can do this programmatically though.

Code:
     function setup() { 
        $list = array(3, 5, 7, 11, 13, 17, 19);
        foreach ($list as $i) {
            $this->add_twoforone_cat($i) 
        }
   }