Take coupon codes into account when calculating the referral totals in WooCommerce. #375
Correct discount calculation in WooCommerce. get_item_count() includes quantities so just count  instead. #375
Merge branch 'master' of https://github.com/affiliatewp/AffiliateWP into add-on/lifetime-commissions
Add affwp_discount_affiliate filter + typo