Update cart.php

In the `woocommerce_cart_item_quantity` filter the `$cart_item_key` is useless without the `$cart_item`, which is included in all the other relevant filters in this file. NB. Added here as last argument so not to break existing code.
This commit is contained in:
Benedict 2015-04-16 15:11:30 +02:00
parent b2eb52298e
commit 5fc10ad757
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ do_action( 'woocommerce_before_cart' ); ?>
), $_product, false );
}
echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key );
echo apply_filters( 'woocommerce_cart_item_quantity', $product_quantity, $cart_item_key, $cart_item );
?>
</td>