My client needs to deduct a fixed cost amount from the cart total before he allows the commission calculation.
Is there a WP Affiliate Manager hook, action or filter that would allow us to adjust the purchase total downward by about $150 or $250 before the 30% commission is applied? This merchant must grant a high 30% commission for competitive reasons – all his competitors also apply a fixed cost adjustment before applying the ‘standard’ 30% commission.
Or do you have another method that you recommend for getting this done?
Hi, We do have a filter that can be used to override the commission amount just before it is rewarded to the affiliate:
$creditAmount = apply_filters( 'wpam_credit_amount', $creditAmount, $amount, $txn_id );
Here $creditAmount is the commission amount, $amount is the purchase total and $txn_id is the unique transaction ID.
You must be logged in to reply to this topic.