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:
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.
-
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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 -
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.