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:

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

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart/cart.php:125
  2. Essential Addons for Elementor icon 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
  3. Royal Addons for Elementor icon 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
  4. Element Pack Addons for Elementor icon Element Pack Addons for Elementor100,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) includes/helper.php:2591
  5. ShopEngine icon ShopEngine90,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) widgets/cart-table/screens/cart.php:145
  6. FunnelKit icon 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
  7. ShopBuilder icon ShopBuilder10,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/elementor/cart/cart-table.php:109
  8. CoDesigner icon CoDesigner4,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) widgets/cart-items/cart-items.php:1982
  9. WowStore icon WowStore4,000+ installs do_action( 'woocommerce_after_cart_item_name', $args['cart_item'], $args['cart_item_key'] ) blocks/woo/cart_table/Template.php:161
  10. Ultimate Store Kit icon 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
  11. Responsive Addons for Elementor icon 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
  12. wpsection icon wpsection3,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) theme/elementor/woocomerce/wps_cart_summery.php:410
  13. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon 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
  14. Address Book & Multiple Shipping for WooCommerce icon Address Book & Multiple Shipping for WooCommerce1,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $key ) public/class-thmaf-public.php:1935
  15. Cart PDF for WooCommerce icon Cart PDF for WooCommerce1,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart-table.php:100
  16. WPC Share Cart for WooCommerce icon WPC Share Cart for WooCommerce1,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) wpc-share-cart.php:393
  17. WP Hotel Booking WooCommerce icon WP Hotel Booking WooCommerce1,000+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/woocommerce/cart/cart.php:160
  18. Instantio icon Instantio700+ installs do_action( 'woocommerce_after_cart_item_name', $instantio_cart_item, $instantio_cart_item_key ) includes/templates/cart-modern.php:118
  19. WC Booster icon WC Booster700+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) woocommerce/cart/cart.php:55
  20. MarketKing icon MarketKing700+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) public/templates/cart.php:158
  21. ShopPress icon ShopPress600+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) public/templates/cart/cart-table.php:96
  22. Save and Share Cart for WooCommerce icon 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
  23. PDF Invoice for WooCommerce + Drag and Drop Template Builder icon 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
  24. StoreBuild icon StoreBuild400+ installs do_action( 'woocommerce_after_cart_item_name', $storebuild_cart_item, $storebuild_cart_item_key ) public/woocommerce/cart/cart.php:79
  25. Noah Shop Builder for WooCommerce icon Noah Shop Builder for WooCommerce400+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) includes/Blocks/CartTable.php:192
  26. CRT Addons Builder and Widgets for Elementor icon 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
  27. Freight Shipping Quote icon Freight Shipping Quote300+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) inc/class-shortcodes.php:212
  28. Free Product Sample for WooCommerce icon 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
  29. KiriminAja Official icon KiriminAja Official200+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/woocommerce/cart/cart.php:106
  30. Shopready icon Shopready100+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) src/extension/templates/presets/cart/cart.php:117
  31. WPC Request a Quote for WooCommerce icon WPC Request a Quote for WooCommerce100+ installs do_action( 'woocommerce_after_cart_item_name', $wpcrq_item, $wpcrq_item_key ) templates/quote-page.php:80
  32. ShopMaker icon ShopMaker90+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/widgets/sm-parts/cart-table.php:75
  33. AMP WooCommerce icon AMP WooCommerce90+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart/cart.php:79
  34. Gift Vouchers for WooCommerce icon Gift Vouchers for WooCommerce80+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart/cart.php:93
  35. WebSync Checkout for Elementor icon WebSync Checkout for Elementor60+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart/custom-cart.php:71
  36. Sidebar Cart for WooCommerce icon Sidebar Cart for WooCommerce50+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) inc/scw-review.php:59
  37. Atomic Addons icon Atomic Addons50+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) includes/widgets/mini-cart.php:1479
  38. Awesome Checkout Templates icon Awesome Checkout Templates40+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) public/front-checkout.php:622
  39. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) public/templates/cart/cart.php:74
  40. Restaurant Menu / bulk order plugin for WooCommerce icon 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
  41. Elite Elementor Addons and Widgets icon 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
  42. Max Elements for Elementor icon Max Elements for Elementor10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) elementor/helpers/woo_cart.php:141
  43. Themofy Addons for Elementor icon Themofy Addons for Elementor10+ installs do_action( 'woocommerce_after_cart_item_name', $item, $key ) modules/woocommerce/includes/widgets/class-cart.php:1065
  44. Express Shop for WooCommerce Product Table icon Express Shop for WooCommerce Product Table10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) inc/cart/cart.php:81
  45. Categorized Cart Page For Woocommerce icon Categorized Cart Page For Woocommerce10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart.php:97
  46. ACL icon ACL10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) includes/cart/class-wooacd-cart-frontend.php:111
  47. Manual Orders for Woocommerce icon Manual Orders for Woocommerce10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/checkout/cart.php:78
  48. C4D Woo Cart Popup & Slide icon C4D Woo Cart Popup & Slide10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/popup-cart.php:54
  49. Formdev icon Formdev10+ installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/cart.php:156
  50. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $key ) inc/blocks/blocks-cart.php:160
  51. PaymentIQ Checkout icon PaymentIQ CheckoutFewer than 10 installs do_action( 'woocommerce_after_cart_item_name', $cart_item, $cart_item_key ) templates/paymentiq-cart-page.php:85
  52. Portus Cart Page icon Portus Cart PageFewer than 10 installs do_action( 'woocommerce_after_cart_item_name', $portus_item, $portus_key ) templates/cart.php:38
  53. Samply icon 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.