Your cart is currently empty!
Minimum Order Amount
—
by
Hello!
Loving the plugin so far but I have a question about the commission amount. The documentation> suggests that it’s possible to calculate the commission using and “algorithm” but gives no further explanation.
The goal is to give a flat $10 commission for orders that are $25 or more. Is there any way to set a minimum order total? This seemed pretty straightforward in the documentation and it’s critical to our use of the plugin.
Posted in Affiliates Pro
Comments
8 responses to “Minimum Order Amount”
Hi Justin,
Please delete the plugin you have now and install the one i sent you by mail at: justin at digitalrelativity dot com.
It should be ok now.
Cheers
Please try with a value that is greater than 0, i.e. 1 or 2 and definitely without decimals for the sale total. That is happening because the check is performed against 0.
Cheers
Thanks, George. I adjusted the amount to 1 and placed an order for over $1, but it still doesn’t not appear to be working – http://screencast.com/t/4q8hQKbx
Hi Justin,
I forgot to mention that the zip file should be installed and activated. Also, the minimum method should be chosen under Affiliates>Settings>Commissions.
Kind regards,
George
It actually is already – http://screencast.com/t/UwMxiGp5fZDb
Hi Justin,
The algorithm gets the product amount and if not set gets the default rate.
For your case, you can use another custom method Affiliates Custom Method Minimum, which gives you the ability to grant different flat amount commissions, according to the sale amount.
Please visit the link i mentioned above, download the zip file and make some modifications. On line 16 of affiliates-custom-method-minimum file, edit the values of the array and change ‘1000’ to ’25’ and 50 to 10. Also, if you like delete the other two lines ( 18 and 19 ).
The code then should look like this:
public static $amounts = array(
'25' => 10
);
If you need any further assistance on how to edit the code, please ask me here.
Kind regards,
George
Thanks, George!
I see that option in the commission rate list now. I adjusted the amounts and placed an order but it doesn’t appear to have processed. The cookie is there and the order meets the minimum amount (.1 for the time being, to test) – http://screencast.com/t/OumWzGwuUyBw
Do the referrals take a while to appear?
Reviewing the documentation, I believe I see the API for this. Is this the correct syntax? http://pastie.org/private/3nahbsmtsnjohtozitkpw