removing unnecessary action

This commit is contained in:
Daniel Espinoza 2014-02-24 11:59:54 -06:00
parent bf8a825f2d
commit 3a37bec683
1 changed files with 0 additions and 1 deletions

View File

@ -610,7 +610,6 @@ class WC_Form_Handler {
if ( $passed_validation ) {
if ( WC()->cart->add_to_cart( $product_id, $quantity, $variation_id, $variations ) ) {
do_action( 'woocommerce_product_added_to_cart', $product_id );
wc_add_to_cart_message( $product_id );
$was_added_to_cart = true;
$added_to_cart[] = $product_id;