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)
}
}
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.
Bookmarks