woocommerce_cart_product_price

woocommerce_cart_product_price

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_cart_product_price') is found 1 times:

  • /includes/class-wc-cart.php line 2027
    			$product_price = wc_get_price_including_tax( $product );
    		} else {
    			$product_price = wc_get_price_excluding_tax( $product );
    		}
    		return apply_filters( 'woocommerce_cart_product_price', wc_price( $product_price ), $product );
    	}
    
    	/**
    	 * Get the product row subtotal.
    	 *
    	 * Gets the tax etc to avoid rounding issues.