WordPress filter hook
woocommerce_cart_no_shipping_available_html
Defined by WooCommerce and fired by 27 plugins in total, running on 7.3M+ sites between them.
“Provides a means of overriding the default 'no shipping available' HTML string.”
How to use woocommerce_cart_no_shipping_available_html
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'woocommerce_cart_no_shipping_available_html', function( $sprintf ) {
// Change $sprintf here.
return $sprintf;
}, 10, 1 );Argument names come from FunnelKit's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
27 plugins that fire woocommerce_cart_no_shipping_available_html
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
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>' ), $formatted_destination )templates/cart/cart-shipping.php:78 -
CartFlows200,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'cartflows' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ), $formatted_destination )modules/checkout/classes/layouts/class-cartflows-instant-checkout.php:552 -
ShopLentor80,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'woolentor' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )includes/modules/shopify-like-checkout/includes/templates/cart-shipping.php:56 -
FunnelKit30,000+ installs
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>' ) )modules/checkouts/public/template-common/checkout/cart-shipping.php:76 -
SellKit7,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'sellkit' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )includes/block-editor/blocks/checkout/inner-blocks/cart-shipping/class.php:152 -
ThemeHunk5,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'th-all-in-one-woo-cart' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )inc/taiowc-markup.php:1256 -
WPFunnels5,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'wpfnl' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )public/modules/checkout/templates/checkout/shipping-methods.php:70 -
One page checkout and layouts for woocommerce3,000+ installs
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>' ) )WooCommerce/cart/cart-shipping.php:66 -
Address Book & Multiple Shipping for WooCommerce1,000+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf($no_shipping_message . ' ', '<strong>' . esc_html($formatted_destination) . '</strong>') )public/templates/cart/cart-shipping.php:265 -
ShopPress600+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'shop-press' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )public/templates/checkout/shopify-template/cart-shipping.php:57 -
StoreBuild400+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__('No shipping options were found for %s.', 'shopbuild') . ' ', '<strong>' . esc_html($storebuild_formatted_destination) . '</strong>' ), $storebuild_formatted_destination )public/woocommerce/cart/cart-shipping.php:81 -
Shipping Cost on Product Page Calculator for WooCommerce300+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', \sprintf( \__('No shipping options were found for %s.', 'octolize-shipping-cost-on-product-page') . ' ', '<strong>' . $formatted_destination . '</strong>' ) )vendor_prefixed/octolize/wp-shipping-cost-on-product-page/src/Octolize/Shipping/CostOnProductPage/views/html-ajax-response-content.php:73 -
OPSI Israel Domestic Shipments300+ installs
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>' ) )templates/woocommerce/cart/custom-cart-shipping.php:121 -
Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot200+ installs
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>'), $formatted_destination )templates/woocommerce/cart/cart-shipping.php:79 -
FriendStore for WooCommerce100+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf(wcl10n__('No shipping options were found for %s.', 'woocommerce', 'html') . ' ', '<strong>' . esc_html($formatted_destination) . '</strong>') )templates/friendstore/shipping-calculator/shipping-calculator.php:66 -
Shopready100+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'shopready-elementor-addon' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )src/extension/elewidgets/widgets/checkout/template-part/cart-shipping.php:57 -
Pi – Shipping method dropdown for WooCommerce100+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'shipping-method-dropdown-for-woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )woocommerce/cart/cart-shipping.php:143 -
One Page Checkout for WooCommerce30+ installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'onepagecheckout-for-woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ) )public/templates/cart/cart-shipping.php:66 -
Checkout Shipping Message Add-on for WooCommerce20+ installs
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>' ) )templates/cart-shipping.php:72 -
Sherpa Delivery for WooCommerce10+ installs
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>') )templates/frontend/cart/cart-shipping-flatsome.php:90 -
Relay Point for WooCommerce10+ installs
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>') )woocommerce/cart/cart-shipping.php:133 -
Custom & One-Page Checkout for Woo10+ installs
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>' ) )templates/woocommerce/cart/cart-shipping.php:74 -
WPC10+ installs
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>' ) )app/inc/Addons/wpc-onepage-checkout/templates/checkout/cart-shipping.php:47 -
SKYRO Checkout for WooCommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'skyro-checkout-for-woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ), $formatted_destination )src/FrontEnd/TemplateFiles/TemplateParts/shipping-methods-html.php:87 -
ithan devvn checkout for woocommerceFewer than 10 installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf( esc_html__( 'No shipping options were found for %s.', 'ithan-devvn-checkout-for-woocommerce' ) . ' ', '<strong>' . esc_html( $formatted_destination ) . '</strong>' ), $formatted_destination )templates/cart/cart-shipping.php:108 -
Kadio Deposit for WoocommerceFewer than 10 installs
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>' ) )templates/woocommerce/cart/cart-shipping.php:73 -
SuperPlusFewer than 10 installs
apply_filters( 'woocommerce_cart_no_shipping_available_html', sprintf(esc_html__('No shipping options were found for %s.', 'superplus-for-woocommerce') . ' ', '<strong>' . esc_html($formatted_destination) . '</strong>'), $formatted_destination )includes/modules/checkout-steps/templates/woocommerce/cart/cart-shipping.php:99
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.