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:

functions.php
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.

  1. WooCommerce icon 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
  2. CartFlows icon 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
  3. ShopLentor icon 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
  4. FunnelKit icon 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
  5. SellKit icon 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
  6. ThemeHunk icon 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
  7. WPFunnels icon 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
  8. One page checkout and layouts for woocommerce icon 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
  9. Address Book & Multiple Shipping for WooCommerce icon 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
  10. ShopPress icon 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
  11. StoreBuild icon 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
  12. Shipping Cost on Product Page Calculator for WooCommerce icon 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
  13. OPSI Israel Domestic Shipments icon 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
  14. Freight Integration for Woocommerce to Profrakt and Logistra by WildRobot icon 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
  15. FriendStore for WooCommerce icon 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
  16. Shopready icon 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
  17. Pi – Shipping method dropdown for WooCommerce icon 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
  18. One Page Checkout for WooCommerce icon 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
  19. Checkout Shipping Message Add-on for WooCommerce icon 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
  20. Sherpa Delivery for WooCommerce icon 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
  21. Relay Point for WooCommerce icon 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
  22. Custom & One-Page Checkout for Woo icon 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
  23. WPC icon 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
  24. SKYRO Checkout for WooCommerce icon 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
  25. ithan devvn checkout for woocommerce icon 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
  26. Kadio Deposit for Woocommerce icon 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
  27. SuperPlus icon 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.