issue with the math

zach's picture
Offline
Joined: 08/13/2008
Juice: 9
issue with the math

i just upgraded to this version of the affiliate module. first i ran into an error when trying to run a test order through. it had to do with an extra debug line "dsm($product);" from what i understand that only has to do with debuging.

i also changed the language where it said "Links to Ecopaper" i changed it to "Links to Copy" i'm not sure what really should be there, thats just what i put.

now i ran into another problem...

i figured out that the commission is only paid for quantity 1 of each item. if someone buys 3 of an item. the affiliate only gets paid the commission on the price of 1. i don't really know php at all so i don't know how to fix the problem. could someone point me in the right direction?

also where it displays the commission info in user/%/affiliate/commissions it shows the total price after shipping. i think that the commission should be paid on the total before shipping, so it shouldn't show the final total b/c it makes it confusing to the affiliate.

If anyone could help me out on this it would be greatly appreciated.

Affiliate v2 By: mimetic2 (29 replies) Mon, 09/01/2008 - 17:14