woocommerce_grouped_product_list_before_

woocommerce_grouped_product_list_before_

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('woocommerce_grouped_product_list_before_') is found 1 times:

  • /templates/single-product/add-to-cart/grouped.php line 57
    				echo '<tr id="product-' . esc_attr( $grouped_product_child->get_id() ) . '" class="woocommerce-grouped-product-list-item ' . esc_attr( implode( ' ', wc_get_product_class( '', $grouped_product_child ) ) ) . '">';
    
    				// Output columns for each product.
    				foreach ( $grouped_product_columns as $column_id ) {
    					do_action( 'woocommerce_grouped_product_list_before_' . $column_id, $grouped_product_child );
    
    					switch ( $column_id ) {
    						case 'quantity':
    							ob_start();
    
    							if ( ! $grouped_product_child->is_purchasable() || $grouped_product_child->has_options() || ! $grouped_product_child->is_in_stock() ) {