Download & Extend

Role-based commissions not being applied

Project:Ubercart Affiliate v2
Version:6.x-3.x-dev
Component:Code
Category:support request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

To reiterate a point I made in my first post here, I want to say how much I appreciate the incredible flexibility of this module, and the work that has gone into creating it.

I have set up 7 affiliate levels, to pay out different commissions amount depending on how many sales an affiliate has generated over the previous 12 months. (At the moment, I'm assigning roles manually.)

Each role has a unique commissions structure of 2 tiers. The 2nd tier commission percentages do not change, only the 1st level commissions.

Base (default) commissions are 40% / 5%.
Level 2 affiliates get 45% / 5%
Level 3 affiliates get 50% / 5%
etc.

I have a few affiliates who have been assigned level 2, level 3, and level 4 affiliate roles.

All sales generated so far have had commissions calculated with the default commissions and not the role-based commissions I've assigned.

Obviously, this is a problem which needs to be fixed.

What can we do?

Thanks.

Comments

#1

I'm having the same issue, removing the value from default commission structure prevents the commission being applied on the order.

Awesome module by the way!

#2

Category:bug report» support request
Priority:major» normal

What is the order of your role based commissions in the table, if someone has 2 roles then it will see the first commission item that matches and and credit that, so you should put the high commission roles at the top of the list so they get matched first.

#3

My affiliates only have 1 affiliate role applied at any one time.

#4

This apparently is a bug, as I started a thread earlier before finding this thread. Why is this issue still open without a proposed resolution? It seems as if this is a fairly serious functionality issue that should be addressed.

On my test site, I have commission set at 2% for one affiliate role, and 5% for another, with the default commission at 2%. I then create two users, one with the 2% role, and the other with the 5% role, and place orders with their affiliate codes.

When I use the the affiliate code belonging to a user that has the role defined at 5% commission, 2% is still used as the order commission rate, meaning the module seems to never override the default despite assigning a higher commission to a role. When I remove the default commission, the module doesn't apply any commission to the order.

Is there something I am missing regarding why this issue is still outstanding despite the first post above being in December of 2010, yet development on the module continues? This seems to be a very important feature within the module that isn't working properly.

Any help is appreciated, and thanks!

#5

Version:6.x-2.5» 6.x-3.x-dev

Hi,

same problem here.
I have two different commissions with two levels based per role. It never gives two different commission per two roles.
Bug's not fixed at all. I tried on version 6.x-3.x-dev and 6.x-2.6 but with no result.
Like IncrediBody.com - I NEED HELP PLEASE!

#6

Temporary, I have solution but, for me is very complicated.
I put default commission structure for role with largest number of users. Then for all other user I put individual commission for every product (Add commission for User).

Like I said it's temporal solution but only solution I have...

#7

But even that individual user will not register a % commission. So the problem endures. Too bad, for this is otherwise a very good module.

#8

If I use the role based commission on the PRODUCT itself, then it applies to that user at the proper percentage. I have not tested to see if it interferes with the other roles.

nobody click here