public function renderTable() { $root = REL_ROOT_URL; return parent::renderTable() . ___('<p>For each item in purchase, aMember will look through all rules, from top to bottom. ' . 'If it finds a matching multiplier, it will be remembered. ' . 'If it finds a matching custom rule, it takes commission rates from it. ' . 'If no matching custom rule was found, it uses "Default" commission settings.</p>' . '<p>For n-tier affiliates, no rules are used, you can just define percentage of commission earned by previous level.</p>') . '<p><a class="link" target="_top" href="' . $root . '/admin-setup/aff">' . ___('Check other Affiliate Program Settings') . '</a></p>'; }
public function renderTable() { $root = REL_ROOT_URL; return parent::renderTable() . <<<CUT <div class='comment'> For each item in purchase, aMember will look through all rules, from top to bottom. If it finds a matching multiplier, it will be remembered. If it finds a matching custom rule, it takes commission rates from it. If no matching custom rule was found, it uses "Default" commission settings. For 2-level affiliates, no rules are used, you can just define percentage. </div> <p><br /> <a target='_top' href='{$root}/admin-setup/aff'>Check other Affiliate Program Settings</a> </p> CUT; }