I'm sorry I made a wrong statement. It's hardcoded on the files of snap affiliate itself.
Edit the following in tpl_referrer_main_default.php found in your templates directory:
Around 80-86:
PHP Code:
<td><strong>Current sales</strong></td>
<td> $<?php echo number_format($unpaid_total, 2); ?></td>
</tr>
<tr>
<td><strong>Unpaid commission</strong></td>
<td><strong>$<?php echo number_format($unpaid_commission, 2); ?></strong></td>
</tr>
<tr>
<td><strong>Year to date sales</strong></td>
<td> $<?php echo number_format($yearly_total, 2); ?></td>
</tr>
<tr>
<td><strong>Year to date commission</strong></td>
<td><strong>$<?php echo number_format($yearly_commission, 2); ?></strong></td>
</tr>
</table>
Edit the $ that appears
before the <?php echo statement to your currency.
Then further down in the same file:
Look for:
PHP Code:
printf("<td>$%s</td>\n", number_format($entry['amount'], 2));
and
PHP Code:
printf("<td>$%s</td>\n", number_format($entry['commission'] * $entry['amount'], 2));
And change the $ in each $%s to the currency of your choosing. For example, to switch to the Yen, change $%s to ¥%s.
And then finally:
Change the $'s
before the <?php statements in each of the below:
PHP Code:
<tr>
<td style='border-top: 1px dashed grey;'>
<strong>Totals</strong>
</td>
<td style='border-top: 1px dashed grey;'>
<strong>$<?php echo number_format($activity_total,2); ?></strong>
</td>
<td style='border-top: 1px dashed grey;'>
</td>
<td style='border-top: 1px dashed grey;'>
<strong>$<?php echo number_format($activity_commission, 2); ?></strong>
</td
<td style='border-top: 1px dashed grey;'>
</td>
</tr>
</table>
If you need assistance, send a PM and I'll act on this for you.
Whatever you do...
DO NOT DO A GLOBAL FIND/REPLACE to change the $ or else you may break the coding.
Bookmarks