woocommerce_cart_product_price

woocommerce_cart_product_price

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_cart_product_price') is found 1 times:

  • /includes/class-wc-cart.php line 2040
    2036
    2037
    2038
    2039
    2040
    2041
    2042
    2043
    2044
    2045
    2046
            $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.