woocommerce_before_cart_totals

woocommerce_before_cart_totals

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_before_cart_totals') is found 1 times:

  • /templates/cart/cart-totals.php line 23
     
    ?>
    <div class="cart_totals <?php echo ( WC()->customer->has_calculated_shipping() ) ? 'calculated_shipping' : ''; ?>">
    
    	<?php do_action( 'woocommerce_before_cart_totals' ); ?>
    
    	<h2><?php esc_html_e( 'Cart totals', 'woocommerce' ); ?></h2>
    
    	<table cellspacing="0" class="shop_table shop_table_responsive">
    
    		<tr class="cart-subtotal">