Remove dup discount calculation

This commit is contained in:
thenbrent 2014-01-30 21:54:33 -08:00
parent 390afe9f90
commit f2a0e4bcdd
1 changed files with 0 additions and 1 deletions

View File

@ -503,7 +503,6 @@ class WC_Coupon {
} elseif ( $this->type == 'percent_product' || $this->type == 'percent' ) {
$discount = ( $discounting_amount / 100 ) * $this->amount;
$discount = round( ( $discounting_amount / 100 ) * $this->amount, WC()->cart->dp );
} elseif ( $this->type == 'fixed_cart' ) {