- This topic has 3 replies, 2 voices, and was last updated 5 years, 8 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Affiliates Management Plugin for WordPress
by
WordPress Affiliate Manager › Forums › Affiliate Manager Plugin › Commission % based on price before discount
Hi
We use a discount plugin to give discounts under certain circumstances. The affiliate commission % should be calculated on the value after discount, but it takes the value before discount.
Is there a way of telling it to calculate this on the subtotal after all vouchers and discounts, but before shipping costs?
Cheers
Theo
I ran a test with log enabled – in this case the commission should be calculated on 53.85, not on 107.7
[08/05/2020 7:51 PM] – SUCCESS : WooCommerce Integration – Checking if affiliate commission needs to be awarded.
[08/05/2020 7:51 PM] – SUCCESS : WooCommerce Integration – Order status: completed
[08/05/2020 7:51 PM] – SUCCESS : WooCommerce Integration – Total amount: 53.85, Total shipping: 0, Total tax: 0, Fees: -53.85
[08/05/2020 7:51 PM] – SUCCESS : WooCommerce Integration – awarding commission for order ID: 12758, Purchase amount: 107.7, Affiliate ID: 15, Buyer Email:
@mlungu, Our core WooCommerce integration calculates the commission on the actual sale amount (excluding shipping, tax, discount). Please give it a try without the discount plugin and see if it works (Deactivate everything except WooCommerce and affiliates manager).
Hi
yeah it does work fine without that – but I knew that. The issue is that the discount given is calculated as a voucher and shows as a negative fee. It does not change the price of the item or the subtotal. I can see why the commission does therefore not take it in to account, was just hoping there is a way…..