Scrapbook supplies, I think the comments in my code make it clear where your mods go:
Code:
function setup() {
// Add all linkages here
// LifeRing linkages - Brochure Sampler free with any book order
// To make this work we had to add a separate link for every item in the Books category
$this->add_prod_to_prod(2,16,"%",100);
$this->add_prod_to_prod(3,16,"%",100);
$this->add_prod_to_prod(4,16,"%",100);
$this->add_prod_to_prod(5,16,"%",100);
$this->add_prod_to_prod(6,16,"%",100);
// 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);
It isn't necessarily clear that all the stuff after //Some examples are provided is commented out... I had to ask about it myself.
And, of course, it all has to go inside the closing bracket } for function setup().
Hope this helps.
Bookmarks