Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Fires before each of the cart item totals in the order summary.
Parameters #
$cart_item(array) – The cart item array containing product data, quantity, and other cart item information.$cart_item_key(string) – The unique key for this cart item.$product(WC_Product) – The WooCommerce product object for this cart item.
Examples #
/**
* Add cart totals header
*/
function add_cart_totals_header( $cart_item, $cart_item_key, $product ) {
echo '<div>Product total</div>';
}
add_action( 'fc_order_summary_cart_item_totals_before', 'add_cart_totals_header', 10, 3 );
