[2.3] Ensure coupon taxes are reset when calculating totals.

Fixes #7780
This commit is contained in:
Mike Jolley 2015-03-20 15:03:45 +00:00
parent c5c051e84e
commit 17fb3874e6
2 changed files with 3 additions and 0 deletions

View File

@ -88,6 +88,7 @@ class WC_Cart {
'taxes' => array(),
'shipping_taxes' => array(),
'discount_cart' => 0,
'discount_cart_tax' => 0,
'shipping_total' => 0,
'shipping_tax_total' => 0,
'coupon_discount_amounts' => array(),

View File

@ -138,6 +138,8 @@ Yes you can! Join in on our [GitHub repository](http://github.com/woothemes/wooc
== Changelog ==
* Fix - Ensure coupon taxes are reset when calculating totals.
= 2.3.7 - 18/03/2015 =
* Fix - Allow saving of empty download expiry date on orders.
* Fix - get_total_discount() function with certain tax setups.