Your cart is currently empty!
Re: Pay Per Click Amount Error
—
by
On this page that explains the Pay-per-click module, http://docs.itthinx.com/document/affiliates-pro/setup/settings/integrations/pay-per-click/, it states that I can set an amount per click less than $1:
“Commissions can be paid to affiliates based on clicks or visits to their affiliate links. For example, the system can be set up to pay affiliates $0.70 for every 100 Daily Visits.”
But when I try to set up your example on my site, I get an error message that I can’t use this number, only 0 and 1.
Here’s a video grab of the message: http://screencast.com/t/bZfbFKba9EKe
I want to know how to get this straight, as this was the reason I purchased your affiliate program.
I’m trying to pay my affiliates .003 cents per click.
Thanks!
Posted in Affiliates Pro
Comments
9 responses to “Re: Pay Per Click Amount Error”
Sorry, it is not ready yet.
Thanks
Any progress by any chance?
I see, i will have a look again.
Cheers
Thanks!
I followed your instructions to a T as you can see in this video: http://screencast.com/t/p9XDWD0hG7z
We’re getting closer because the referral edit screen is now displaying 5 decimal points but it still doesn’t it, it reverts back to 0.00000 for some reason.
But we’re getting close.
Hi Brennen,
Thank you for your patience!
There is also a small change in the database that needs to take place in order for the filter to work.
So, first things first you should take a backup of your database and then execute a query.
The query to be executed is this but if you are not familiar with mySQL, please let me know.
ALTER TABLE `wp_aff_referrals` MODIFY `amount` DECIMAL (18,5)
but if you use your own table prefix, you should use it instead of wp_.
i.e. if your table prefix is gt_ your query should be
ALTER TABLE `gt_aff_referrals` MODIFY `amount` DECIMAL (18,5)
If you are not familiar with mySQL, please let me know
After executing the query put the following filter in your theme’s functions.php file.
function gt_change_decimals ( $decimals ) {
$decimals = 5;
return $decimals;
}
add_filter( 'affiliates_referral_amount_decimals', 'gt_change_decimals' );
It is better to put the snippet above in your child theme’s functions.php in order to keep the contents after a Theme update.
After that you should be ok to use the configuration you mentioned about granting 0.001 usd per click.
Kind regards
George
Sorry not yet, i will let you know as soon as this is ready!
Thanks!
Have you gotten around to looking into this yet by any chance?
Thanks!
Hi Brennen,
There is a filter where you can set the amount of decimals for referral amounts.
I’m checking its functionality to see if it fits with your configuration and i will let you know.
Thank you for being patient.
Kind regards,
George