I'm using the 5.x version of Affiliate with Ubercart. I had a default commission of 50% in the Affiliate configuration. I have two products, and they were configured as follows: product A with a commission of 50%, and product B with an explicit commission of zero (0) -- i.e., no commission for that product.
The product A commission has been working fine. However, with product B created recently, it was just hit with a 50% commission.
Problem #1: If product B's affiliate commission is set to zero, and the default commission is 50, it looks like the default commission took precedent. I would expect product B's config of "0" to mask the default.
Problem #2: How can I "undo" or reset the improper commission. Right now, a site member has a 50% commission credited to his account for product B, and I need to remove it. How?
Thanks for your help!
Comments
Comment #1
bojanz commentedI am aware of problem #1, should be fixed soon(ish).
As for problem #2, find the offending row in the uc_affiliate2_commission table and delete it. It contains the user id (column: aid) and order id (column: order id), so it shouldn't be hard
Comment #2
mgenovese commentedThanks re: problem #1.
Re: #2, would it make sense to have a function to modify or delete a commission with certain access controls in place? That would be much easier (down the road) than manually deleting the table row.
Thanks for your reply. Cheers.
Comment #3
bojanz commentedYes, I'll keep that in mind.
Bojan
Comment #4
bojanz commentedProblem fixed in CVS. Setting the Product Commission to 0 excludes it from the calculations (and from the generated links).