Ask your WordPress questions! Pay money and get answers fast! (more info)

WooCommerce/COGS Addon/Affiliates Pro (itthinx) commission question WordPress

  • SOLVED

Hi Everyone,

I have a woocommerce installation with the cost of goods sold addon installed. I have also installed the affiliates pro plugin by itthinx. I need to use this system to calculate commissions to salespeople we have in the field (face to face selling, not really affiliates, but there is nothing on the market which can work with standard sales commissions). The problem is that I need to calculate the commission from the gross profit, not the gross sales price. I cant use a standard amount, because the markup on some products are 30% and others are 22.47%. There are also some salespeople who receive a commission of 30% of the profit, and others are at 35% (etc).

Any ideas?

Answers (3)

2017-09-11

Reigel Gallarde answers:

If you could suggest how this should be calculated, I might be able to come up with a code..

Currently, I'm not really sure where to put the calculations..
Example, is it on cart or on checkout?
How should the calculations be done?
Is gross sales price currently being used to calculate?


jswede comments:

Hi Reigel,

Thanks for the input. I have included a picture as a reference. I have the cost of the product, and the selling price. Through the affiliate commission software, i can include a standard rate across the board (as I did at 30%). The commission needs to only be for the amount of sales minus cost. Shipping cannot have any commissions paid. If there are discounts, these need to be used as the sales price, but the cost wont change.

Hope this helps.


Reigel Gallarde comments:

when you say "amount of sales minus cost" you mean regular price minus cost of goods?

Also, what plugin is responsible for this Commission? I will check that plugin.


jswede comments:

Yes, I mean the regular price minus the cost of goods.

The plugin is affiliates enterprise.

Their website is: https://www.itthinx.com/

If you had a dummy test site, I could install it to show you the full package.


Reigel Gallarde comments:

I have installed affiliates pro on my localhost, but I can't seem to find a way to show "Commission (%)" field.

Here's a screenshot of what I have.
http://i.imgur.com/mlso9sf.png

is affiliates pro the only plugin used to show "Commission (%)" field?


jswede comments:

The commission is inside of their settings. I also have woocommerce vendors installed, which may show the commission field. I am only trying to figure out how to do it through the affiliates pro plugin (unless you can point me to a different plugin which can calculate commissions for salespeople based on gross profit and not just sales amounts).


Reigel Gallarde comments:

I do not know of any plugin that exist.

Anyway, if only I know the code that calculate "Commissions (%)", and if we're lucky that it has a hook available, I could change it to accept some shortcodes.

so instead of you putting 30 in there, you could perhaps enter: [rp] - [cog].
And this will calculate whatever the value of regular price and cost of goods.

2017-09-11

Arnav Joy answers:

are you still looking for help?


jswede comments:

yes

2017-09-11

Cesar Contreras answers:

If you haven't read this section, may be it help you.

http://docs.itthinx.com/document/affiliates-enterprise/setup/settings/comissions/


jswede comments:

Yes, but according to their website, the functionality to calculate a commission based on gross profit is not native.