WordPress filter hook

woocommerce_shipping_not_enabled_on_cart_html

Defined by WooCommerce and fired by 19 plugins in total, running on 7.3M+ sites between them.

How to use woocommerce_shipping_not_enabled_on_cart_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_shipping_not_enabled_on_cart_html', function( $_ ) {
	// Change $_ here.
	return $_;
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

19 plugins that fire woocommerce_shipping_not_enabled_on_cart_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_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ) templates/cart/cart-shipping.php:62
  2. CartFlows icon CartFlows200,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'cartflows' ) ) modules/checkout/classes/layouts/class-cartflows-instant-checkout.php:536
  3. ShopLentor icon ShopLentor80,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woolentor' ) ) includes/modules/shopify-like-checkout/includes/templates/cart-shipping.php:48
  4. Kustom Checkout for WooCommerce icon Kustom Checkout for WooCommerce10,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ) templates/kss-cart-shipping.php:38
  5. SellKit icon SellKit7,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', esc_html__( 'Shipping costs are calculated during checkout.', 'sellkit' ) ) includes/block-editor/blocks/checkout/inner-blocks/cart-shipping/class.php:142
  6. ThemeHunk icon ThemeHunk5,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', esc_html__( 'Shipping costs are calculated during checkout.', 'th-all-in-one-woo-cart' ) ) inc/taiowc-markup.php:1246
  7. WPFunnels icon WPFunnels5,000+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'wpfnl' ) ) public/modules/checkout/templates/checkout/shipping-methods.php:61
  8. ShopPress icon ShopPress600+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'shop-press' ) ) public/templates/checkout/shopify-template/cart-shipping.php:49
  9. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __('Shipping costs are calculated during checkout.', 'shopbuild') ) public/woocommerce/cart/cart-shipping.php:65
  10. KiriminAja Official icon KiriminAja Official200+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'kiriminaja-official' ) ) templates/woocommerce/cart/cart-shipping.php:81
  11. 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_shipping_not_enabled_on_cart_html', __('Shipping costs are calculated during checkout.', 'woocommerce') ) templates/woocommerce/cart/cart-shipping.php:63
  12. Shopready icon Shopready100+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'shopready-elementor-addon' ) ) src/extension/elewidgets/widgets/checkout/template-part/cart-shipping.php:49
  13. Relay Point for WooCommerce icon Relay Point for WooCommerce10+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __('Shipping costs are calculated during checkout.', 'woocommerce') ) woocommerce/cart/cart-shipping.php:125
  14. Sherpa Delivery for WooCommerce icon Sherpa Delivery for WooCommerce10+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __('Shipping costs are calculated during checkout.', 'woocommerce') ) templates/frontend/cart/cart-shipping.php:97
  15. Custom & One-Page Checkout for Woo icon Custom & One-Page Checkout for Woo10+ installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ) templates/woocommerce/cart/cart-shipping.php:66
  16. Kadio Deposit for Woocommerce icon Kadio Deposit for WoocommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'woocommerce' ) ) templates/woocommerce/cart/cart-shipping.php:65
  17. SuperPlus icon SuperPlusFewer than 10 installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __('Shipping costs are calculated during checkout.', 'superplus-for-woocommerce') ) includes/modules/checkout-steps/templates/woocommerce/cart/cart-shipping.php:91
  18. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'skyro-checkout-for-woocommerce' ) ) src/FrontEnd/TemplateFiles/TemplateParts/shipping-methods-html.php:71
  19. ithan devvn checkout for woocommerce icon ithan devvn checkout for woocommerceFewer than 10 installs apply_filters( 'woocommerce_shipping_not_enabled_on_cart_html', __( 'Shipping costs are calculated during checkout.', 'ithan-devvn-checkout-for-woocommerce' ) ) templates/cart/cart-shipping.php:92

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.