WordPress action hook
woocommerce_after_cart_item_name
Defined by WooCommerce and fired by 53 plugins in total, running on 8.9M+ sites between them.
“added in 2.0.0”
How to use woocommerce_after_cart_item_name
It's an action: your callback runs at that point and receives 2 arguments. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'woocommerce_after_cart_item_name', function( $cart_item, $cart_item_key ) {
// Your code runs here.
}, 10, 2 );Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
53 plugins that fire woocommerce_after_cart_item_name
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_item_name', $cart_item, $cart_item_key )templates/cart/cart.php:125 -
Essential Addons for Elementor1+ million installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/Template/Woocommerce/Cart/Woo_Cart_Helper.php:147 -
Royal Addons for Elementor600,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/woocommerce/templates/cart/cart.php:86 -
Element Pack Addons for Elementor100,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/helper.php:2591 -
ShopEngine90,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )widgets/cart-table/screens/cart.php:145 -
FunnelKit30,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )modules/checkouts/builder/elementor/html/mini-cart/mini-cart-items.php:121 -
ShopBuilder10,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/elementor/cart/cart-table.php:109 -
CoDesigner4,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )widgets/cart-items/cart-items.php:1982 -
WowStore4,000+ installs
do_action( 'woocommerce_after_cart_item_name', $args['cart_item'], $args['cart_item_key'] )blocks/woo/cart_table/Template.php:161 -
Ultimate Store Kit3,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )modules/mini-cart/templates/cart/mini-cart-backup.php:58 -
Responsive Addons for Elementor3,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/widgets-manager/wc-templates/cart/mini-cart.php:51 -
wpsection3,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )theme/elementor/woocomerce/wps_cart_summery.php:410 -
ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )blocks/cart-table/cart.php:90 -
Address Book & Multiple Shipping for WooCommerce1,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $key )public/class-thmaf-public.php:1935 -
Cart PDF for WooCommerce1,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart-table.php:100 -
WPC Share Cart for WooCommerce1,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )wpc-share-cart.php:393 -
WP Hotel Booking WooCommerce1,000+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/woocommerce/cart/cart.php:160 -
Instantio700+ installs
do_action( 'woocommerce_after_cart_item_name', $instantio_cart_item, $instantio_cart_item_key )includes/templates/cart-modern.php:118 -
WC Booster700+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )woocommerce/cart/cart.php:55 -
MarketKing700+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )public/templates/cart.php:158 -
ShopPress600+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )public/templates/cart/cart-table.php:96 -
Save and Share Cart for WooCommerce500+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/single-saved-cart.php:67 -
PDF Invoice for WooCommerce + Drag and Drop Template Builder500+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )woocommerce/templates/carts/cart-product.php:47 -
StoreBuild400+ installs
do_action( 'woocommerce_after_cart_item_name', $storebuild_cart_item, $storebuild_cart_item_key )public/woocommerce/cart/cart.php:79 -
Noah Shop Builder for WooCommerce400+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/Blocks/CartTable.php:192 -
CRT Addons Builder and Widgets for Elementor300+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/customizer/addons/templates/cart/cart.php:86 -
Freight Shipping Quote300+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )inc/class-shortcodes.php:212 -
Free Product Sample for WooCommerce200+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )public/partials/woocommerce/cart/cart.php:85 -
KiriminAja Official200+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/woocommerce/cart/cart.php:106 -
Shopready100+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )src/extension/templates/presets/cart/cart.php:117 -
WPC Request a Quote for WooCommerce100+ installs
do_action( 'woocommerce_after_cart_item_name', $wpcrq_item, $wpcrq_item_key )templates/quote-page.php:80 -
ShopMaker90+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/widgets/sm-parts/cart-table.php:75 -
AMP WooCommerce90+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart/cart.php:79 -
Gift Vouchers for WooCommerce80+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart/cart.php:93 -
WebSync Checkout for Elementor60+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart/custom-cart.php:71 -
Sidebar Cart for WooCommerce50+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )inc/scw-review.php:59 -
Atomic Addons50+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/widgets/mini-cart.php:1479 -
Awesome Checkout Templates40+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )public/front-checkout.php:622 -
One Page Checkout for WooCommerce30+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )public/templates/cart/cart.php:74 -
Restaurant Menu / bulk order plugin for WooCommerce20+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )front/view/woocommerce/cart/cart-empty.php:98 -
Elite Elementor Addons and Widgets20+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/woocommerce/templates/cart/cart.php:86 -
Max Elements for Elementor10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )elementor/helpers/woo_cart.php:141 -
Themofy Addons for Elementor10+ installs
do_action( 'woocommerce_after_cart_item_name', $item, $key )modules/woocommerce/includes/widgets/class-cart.php:1065 -
Express Shop for WooCommerce Product Table10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )inc/cart/cart.php:81 -
Categorized Cart Page For Woocommerce10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart.php:97 -
ACL10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/cart/class-wooacd-cart-frontend.php:111 -
Manual Orders for Woocommerce10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/checkout/cart.php:78 -
C4D Woo Cart Popup & Slide10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/popup-cart.php:54 -
Formdev10+ installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/cart.php:156 -
Cresta Checkout for WooCommerceFewer than 10 installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $key )inc/blocks/blocks-cart.php:160 -
PaymentIQ CheckoutFewer than 10 installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )templates/paymentiq-cart-page.php:85 -
Portus Cart PageFewer than 10 installs
do_action( 'woocommerce_after_cart_item_name', $portus_item, $portus_key )templates/cart.php:38 -
SamplyFewer than 10 installs
do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key )includes/Frontend/views/woocommerce/cart/cart.php:85
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.