WooCommerce hides prices for free shipping methods. This may be confusing for customers but fortunately, it’s easy to show the price $0,00 for shipping methods with a short code snippet.
Snippets may be added using functions.php in the theme files or even better, by using Code Snippets plugin.
Here’s the code for showing price for free shipping methods:
<?php
add_filter('woocommerce_cart_shipping_method_full_label', 'snippet_show_zero_price', 10, 2);
function snippet_show_zero_price($label, $method) {
$label = $method->get_label();
if ( WC()->cart->tax_display_cart == 'excl' ) {
$label .= ': ' . wc_price( $method->cost );
if ( $method->get_shipping_tax() > 0 && WC()->cart->prices_include_tax ) {
$label .= ' ' . WC()->countries->ex_tax_or_vat() . '';
}
} else {
$label .= ': ' . wc_price( $method->cost + $method->get_shipping_tax() );
if ( $method->get_shipping_tax() > 0 && ! WC()->cart->prices_include_tax ) {
$label .= ' ' . WC()->countries->inc_tax_or_vat() . '';
}
}
return $label;
}
Add this to functions.php in your theme or by using Code Snippets. Here’s how it should look: