Hi,
Please add this line to your site –
add_filter( 'wcfmmp_is_allow_commission_on_tax', '__return_true' );
add_filter( 'wcfmmp_is_allow_commission_on_shipping', '__return_true' );
Add this code to your child theme’s functions.php
In case you do not have child theme then add code using this plugin – https://ww.wp.xz.cn/plugins/code-snippets/
Thank You
How can we calculate commission on the total order value (including tax, shipping) instead of adding commission to product, tax, shipping separately. Adding them separately creates values of tax and shipping wrongly in the commission invoices which is not desired.
Can you please provide code to calculate commission on total order value instead please?
Hi,
This code is required for the purpose-
add_filter( 'wcfmmp_is_allow_commission_on_tax', '__return_true' );
add_filter( 'wcfmmp_is_allow_commission_on_shipping', '__return_true' );
Adding them separately creates values of tax and shipping wrongly in the commission invoices which is not desired.
– Show me screenshot, how wrongly this calculated commission!
Thank You