Merge pull request #1616 from maxrice/patch-1

update woocommerce_product_discount_after_tax_* hook
This commit is contained in:
Mike Jolley 2012-10-17 08:57:00 -07:00
commit d91fb14b68
1 changed files with 1 additions and 1 deletions

View File

@ -1033,7 +1033,7 @@ class WC_Cart {
foreach ( $this->applied_coupons as $code ) {
$coupon = new WC_Coupon( $code );
do_action( 'woocommerce_product_discount_after_tax_' . $coupon->type, $coupon );
do_action( 'woocommerce_product_discount_after_tax_' . $coupon->type, $coupon, $values, $price );
if ( $coupon->type != 'fixed_product' && $coupon->type != 'percent_product' ) continue;