Whitespace tweak
This commit is contained in:
parent
bd78ca6eec
commit
b1acb6c657
|
@ -278,9 +278,9 @@ function woocommerce_add_to_cart_action( $url = false ) {
|
|||
|
||||
global $woocommerce;
|
||||
|
||||
$product_id = apply_filters('woocommerce_add_to_cart_product_id', absint( $_REQUEST['add-to-cart'] ) );
|
||||
$was_added_to_cart = false;
|
||||
$adding_to_cart = get_product( $product_id );
|
||||
$product_id = apply_filters( 'woocommerce_add_to_cart_product_id', absint( $_REQUEST['add-to-cart'] ) );
|
||||
$was_added_to_cart = false;
|
||||
$adding_to_cart = get_product( $product_id );
|
||||
$add_to_cart_handler = apply_filters( 'woocommerce_add_to_cart_handler', $adding_to_cart->product_type, $adding_to_cart );
|
||||
|
||||
// Variable product handling
|
||||
|
|
Loading…
Reference in New Issue