WordPress action hook
woocommerce_after_cart_totals
Defined by WooCommerce and fired by 17 plugins in total, running on 8.1M+ sites between them.
How to use woocommerce_after_cart_totals
It's an action: your callback runs at that point. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'woocommerce_after_cart_totals', function() {
// Your code runs here.
}, 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.
17 plugins that fire woocommerce_after_cart_totals
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
do_action( 'woocommerce_after_cart_totals' )templates/cart/cart-totals.php:110 -
Essential Addons for Elementor1+ million installs
do_action( 'woocommerce_after_cart_totals' )includes/Template/Woocommerce/Cart/Woo_Cart_Helper.php:388 -
ShopEngine90,000+ installs
do_action( 'woocommerce_after_cart_totals' )widgets/cart-totals/screens/default.php:141 -
CoDesigner4,000+ installs
do_action( 'woocommerce_after_cart_totals' )widgets/cart-overview/assets/templates/cart-totals.php:173 -
WowStore4,000+ installs
do_action( 'woocommerce_after_cart_totals' )blocks/woo/Cart_Total.php:52 -
ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs
do_action( 'woocommerce_after_cart_totals' )blocks/cart-totals/screen.php:135 -
Hide Price Until Login1,000+ installs
do_action( 'woocommerce_after_cart_totals' )includes/cart-total.php:20 -
WC Booster700+ installs
do_action( 'woocommerce_after_cart_totals' )woocommerce/cart/cart-totals.php:104 -
ShopPress600+ installs
do_action( 'woocommerce_after_cart_totals' )public/templates/cart/cart-totals.php:103 -
KiriminAja Official200+ installs
do_action( 'woocommerce_after_cart_totals' )templates/woocommerce/cart/cart-totals.php:145 -
Shopready100+ installs
do_action( 'woocommerce_after_cart_totals' )src/extension/templates/tpl/cart/cart-totals.php:110 -
WebSync Checkout for Elementor50+ installs
do_action( 'woocommerce_after_cart_totals' )templates/cart/custom-cart-totals.php:121 -
Max Elements for Elementor10+ installs
do_action( 'woocommerce_after_cart_totals' )elementor/helpers/woo_cart.php:352 -
Global Seller Services for WooCommerce10+ installs
do_action( 'woocommerce_after_cart_totals' )templates/TaxCalculation/cart-totals.php:162 -
Cresta Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_cart_totals' )inc/blocks/blocks-cart.php:324 -
IPS Cart&Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_cart_totals' )includes/classes/Front/Sidecart/SidecartSlotRenderer.php:18 -
BazarioFewer than 10 installs
do_action( 'woocommerce_after_cart_totals' )elements/widgets/cart-totals/cart-totals.php:1196
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.