Hi @gercal
You can use the filter hook ‘woofc_below_subtotal_content’ to show more information below the subtotal.
Please try to add the below code to current-theme (or child-theme) / functions.php
add_filter( 'woofc_below_subtotal_content', 'your_woofc_below_subtotal_content', 99, 1 );
function your_woofc_below_subtotal_content() {
$content = '';
foreach ( WC()->cart->get_fees() as $fee ) {
$content .= '<div class="woofc-total"><div class="woofc-total-left">' . esc_html( $fee->name ) . '</div><div class="woofc-total-right">' . ( WC()->cart->display_prices_including_tax() ? wc_price( $fee->total + $fee->tax ) : wc_price( $fee->total ) ) . '</div></div>';
}
if ( wc_tax_enabled() && ! WC()->cart->display_prices_including_tax() ) {
$taxable_address = WC()->customer->get_taxable_address();
$estimated_text = '';
if ( WC()->customer->is_customer_outside_base() && ! WC()->customer->has_calculated_shipping() ) {
$estimated_text = sprintf( ' <small>' . esc_html__( '(estimated for %s)', 'woocommerce' ) . '</small>', WC()->countries->estimated_for_prefix( $taxable_address[0] ) . WC()->countries->countries[ $taxable_address[0] ] );
}
if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) {
foreach ( WC()->cart->get_tax_totals() as $code => $tax ) {
$content .= '<div class="woofc-total"><div class="woofc-total-left">' . esc_html( $tax->label ) . $estimated_text . '</div><div class="woofc-total-right">' . wp_kses_post( $tax->formatted_amount ) . '</div></div>';
}
} else {
$content .= '<div class="woofc-total"><div class="woofc-total-left">' . esc_html( WC()->countries->tax_or_vat() ) . $estimated_text . '</div><div class="woofc-total-right">' . apply_filters( 'woocommerce_cart_totals_taxes_total_html', wc_price( WC()->cart->get_taxes_total() ) ) . '</div></div>';
}
}
return $content;
}