woocommerce_cart_no_shipping_available_html

woocommerce_cart_no_shipping_available_html

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.7.2.2

apply_filters('woocommerce_cart_no_shipping_available_html') is found 1 times:

  • /templates/cart/cart-shipping.php line 70
    		elseif ( ! is_cart() ) :
    			echo wp_kses_post( apply_filters( 'woocommerce_no_shipping_available_html', __( 'There are no shipping options available. Please ensure that your address has been entered correctly, or contact us if you need any help.', 'woocommerce' ) ) );
    		else :
    			// Translators: $s shipping destination.
    			echo wp_kses_post( apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) ) );
    			$calculator_text = esc_html__( 'Enter a different address', 'woocommerce' );
    		endif;
    		?>
    
    		<?php if ( $show_package_details ) : ?>
    			<?php echo '<p class="woocommerce-shipping-contents"><small>' . esc_html( $package_details ) . '</small></p>'; ?>