woocommerce_get_discounted_price

woocommerce_get_discounted_price

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_get_discounted_price') is found 1 times:

  • /includes/class-wc-cart-totals.php line 675
    				 * $item->object is the cart item object.
    				 * $this->cart is the cart object.
    				 */
    				$item->total = wc_add_number_precision(
    					apply_filters( 'woocommerce_get_discounted_price', wc_remove_number_precision( $item->total ), $item->object, $this->cart )
    				);
    			}
    
    			if ( $this->calculate_tax && $item->product->is_taxable() ) {
    				$total_taxes     = apply_filters( 'woocommerce_calculate_item_totals_taxes', WC_Tax::calc_tax( $item->total, $item->tax_rates, $item->price_includes_tax ), $item, $this );
    				$item->taxes     = $total_taxes;