Hi Scott,
I have a quick question...

On the Better Together Admin Panel, you furnish this code:


if (!IS_ADMIN_FLAG) {
require(DIR_WS_MODULES . 'better_together_admin.php');
}



to add to:

includes/modules/order_total/ot_better_together.php


This is all fine and good, especially since I have a "virgin" copy of the ot_better_together.php file. I have found it, located the "set up" code at the bottom, found that most of the lines have been commented out and all of that, BUT.... I don't know php, so where does it go? Do I paste it in between the {} brackets, after them, before them? I am lost! I am so sorry! You've led me to the water but I need help scooping it now.



This is the set up code at the bottom of the ot_better_together.php file:

function setup() {
// Add all linkages here
// Some examples are provided:
/*
// Buy product 83, get product 53 at 50% off
$this->add_prod_to_prod(83, 53, "%", 50);

// Buy product 83, get one free
$this->add_prod_to_prod(83, 83, "%", 100);

// Buy product 83, get an item from category 14 free
$this->add_prod_to_cat(83, 14, "%", 100);

// Buy an item from category 21, get an item from category 14 free
$this->add_cat_to_cat(21, 14, "%", 100);

// Buy item 12, get a second one free.
$this->add_twoforone_prod(12);

// Buy any item from category 10, get a second identical one free
$this->add_twoforone_cat(10);

// $this->add_twoforone_prod(17);
$this->add_prod_to_prod(26, 27, "%", 100);
$this->add_prod_to_prod(83, 15, "%", 50);
$this->add_prod_to_prod(83, 20, "%", 25);
$this->add_cat_to_cat(14, 14, "%", 100);
$this->add_prod_to_prod(3, 25, "%", 50);
*/
}

}