WordPress filter hook

woocommerce_cart_item_product_id

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

“Filter the cart item product ID.”

How to use woocommerce_cart_item_product_id

It's a filter: your callback receives the value and 2 more arguments, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'woocommerce_cart_item_product_id', function( $cart_item, $cart_item2, $cart_item_key ) {
	// Change $cart_item here.
	return $cart_item;
}, 10, 3 );

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

140 plugins that fire woocommerce_cart_item_product_id

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_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/cart.php:42
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/Template/Woocommerce/Cart/Woo_Cart_Helper.php:82
  3. Royal Addons for Elementor icon Royal Addons for Elementor600,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/woocommerce/templates/cart/cart.php:43
  4. Premium Addons for Elementor icon Premium Addons for Elementor600,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) modules/woocommerce/templates/wc-templates/mini-cart.php:17
  5. Unlimited Elements for Elementor icon Unlimited Elements for Elementor300,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) provider/woocommerce_integrate.class.php:1622
  6. Element Pack Addons for Elementor icon Element Pack Addons for Elementor100,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/helper.php:2563
  7. ShopEngine icon ShopEngine90,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) widgets/cart-table/screens/cart.php:48
  8. Side Cart Woocommerce icon Side Cart Woocommerce70,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/xoo-wsc-body.php:68
  9. Menu Cart for WooCommerce icon Menu Cart for WooCommerce70,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/shops/wpmenucart-woocommerce.php:155
  10. Jupiter X Core icon Jupiter X Core70,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/extensions/raven/includes/modules/shopping-cart/template/mini-cart.php:27
  11. Hello Plus icon Hello Plus70,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) modules/template-parts/classes/render/header/render-menu-cart.php:131
  12. Sliding Cart for WooCommerce by FunnelKit icon Sliding Cart for WooCommerce by FunnelKit30,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/front.php:415
  13. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/fc/checkout-steps/checkout/review-order.php:47
  14. WebToffee eCommerce Marketing Automation icon WebToffee eCommerce Marketing Automation10,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $rp_decorator_cart_item['product_id'], $rp_decorator_cart_item, $rp_decorator_cart_item_key ) includes/wt-woo-templates/emails/send-abandonment-coupon.php:81
  15. Solace Extra icon Solace Extra10,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) elementor/widgets/functions.php:1034
  16. WPC Fly Cart for WooCommerce icon WPC Fly Cart for WooCommerce10,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) wpc-fly-cart.php:420
  17. E2Pdf icon E2Pdf10,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $item['product_id'], $item, $item_id ) classes/model/e2pdf-shortcode.php:4129
  18. ShopBuilder icon ShopBuilder10,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/elementor/cart/cart-table.php:46
  19. Cart Popup for WooCommerce icon Cart Popup for WooCommerce9,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/xoo-cp-content.php:15
  20. NP Quote Request for WooCommerce icon NP Quote Request for WooCommerce8,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/classes/gpls_woo_rfq_functions.php:1202
  21. WP Menu Cart icon WP Menu Cart8,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/shops/wpmenucart-woocommerce.php:155
  22. Ultimate Gift Cards for WooCommerce icon Ultimate Gift Cards for WooCommerce7,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/class-woocommerce-gift-cards-lite-public.php:1988
  23. Boostify Header Footer Builder for Elementor icon Boostify Header Footer Builder for Elementor6,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/elementor/module/class-woocommerce.php:144
  24. WPCafe icon WPCafe5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) core/modules/mini-cart/views/mini-cart-template.php:24
  25. ThemeHunk icon ThemeHunk5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/taiowc.php:618
  26. Product Table for WooCommerce icon Product Table for WooCommerce5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/handle/fragment.php:185
  27. Pearl icon Pearl5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) hb_templates/elements/cart/mini-cart.php:10
  28. Orderable icon Orderable5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) woocommerce/cart/mini-cart.php:32
  29. CartSuite icon CartSuite5,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/templates/sidebar-cart/sc-product-list-html.php:15
  30. CoDesigner icon CoDesigner4,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) widgets/cart-items/cart-items.php:1924
  31. CartPops icon CartPops4,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_key ) src/Cart/CartLineAuthority.php:393
  32. Ultimate Store Kit icon Ultimate Store Kit3,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) modules/mini-cart/templates/cart/mini-cart-backup.php:30
  33. Responsive Addons for Elementor icon Responsive Addons for Elementor3,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/widgets-manager/wc-templates/cart/mini-cart.php:25
  34. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) WooCommerce/checkout/order-table-layouts/style-1.php:16
  35. wpsection icon wpsection3,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) theme/elementor/woocomerce/wps_cart_summery.php:382
  36. ShopEngine Gutenberg WooCommerce Builder Blocks Addon icon ShopEngine Gutenberg WooCommerce Builder Blocks Addon3,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) blocks/cart-table/cart.php:36
  37. MKL Product Configurator for WooCommerce icon MKL Product Configurator for WooCommerce2,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/frontend/cart.php:994
  38. Food Menu icon Food Menu2,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/mini-cart/mini-cart.php:50
  39. StoreGrowth icon StoreGrowth2,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) modules/fly-cart/templates/cart-contents.php:43
  40. Event Tickets Manager for WooCommerce icon Event Tickets Manager for WooCommerce1,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/class-event-tickets-manager-for-woocommerce-public.php:2527
  41. Tourfic icon Tourfic1,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/Traits/Action_Helper.php:2331
  42. Cart PDF for WooCommerce icon Cart PDF for WooCommerce1,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart-table.php:59
  43. WPC Share Cart for WooCommerce icon WPC Share Cart for WooCommerce1,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) wpc-share-cart.php:359
  44. WP Hotel Booking WooCommerce icon WP Hotel Booking WooCommerce1,000+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/woocommerce/cart/cart.php:47
  45. Mini Ajax Cart for WooCommerce icon Mini Ajax Cart for WooCommerce800+ installs apply_filters( 'woocommerce_cart_item_product_id', $majc_item_val['product_id'], $majc_item_val, $majc_item_key ) classes/frontend-class.php:124
  46. Instantio icon Instantio700+ installs apply_filters( 'woocommerce_cart_item_product_id', $instantio_cart_item['product_id'], $instantio_cart_item, $instantio_cart_item_key ) includes/templates/cart-modern.php:56
  47. WC Booster icon WC Booster700+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/mini-cart.php:112
  48. MarketKing icon MarketKing700+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/templates/cart.php:115
  49. ShopPress icon ShopPress600+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/templates/cart/cart-table.php:38
  50. UltraAddons for Elementor icon UltraAddons for Elementor600+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/widget/cart.php:1646
  51. Mini Cart for WooCommerce icon Mini Cart for WooCommerce500+ installs apply_filters( 'woocommerce_cart_item_product_id', $itemVal["product_id"], $itemVal, $itemKey ) public/frontend/class-whmc-fragments.php:116
  52. Save and Share Cart for WooCommerce icon Save and Share Cart for WooCommerce500+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/single-saved-cart.php:37
  53. Unlimited Elements Blocks Library icon Unlimited Elements Blocks Library500+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) provider/woocommerce_integrate.class.php:1622
  54. PDF Invoice for WooCommerce + Drag and Drop Template Builder icon PDF Invoice for WooCommerce + Drag and Drop Template Builder500+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) woocommerce/templates/carts/cart-product.php:31
  55. Mini Cart Drawer for WooCommerce icon Mini Cart Drawer for WooCommerce400+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) minicart_lite/libs/class-mca-client-data.php:131
  56. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/class-pure-wc-shopbuild-public.php:499
  57. Topper Pack icon Topper Pack400+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/woocommerce/templates/cart/mini-cart.php:25
  58. CRT Addons Builder and Widgets for Elementor icon CRT Addons Builder and Widgets for Elementor300+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/customizer/addons/templates/cart/cart.php:43
  59. Food Online for WooCommerce icon Food Online for WooCommerce300+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/mini-cart-incre.php:44
  60. Noah Shop Builder for WooCommerce icon Noah Shop Builder for WooCommerce300+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/Blocks/CartTable.php:139
  61. Live Shopping & Shoppable Videos For WooCommerce icon Live Shopping & Shoppable Videos For WooCommerce300+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/CHLSChannelizeAjax/CHLSChannelizeAjax.php:66
  62. Floating Cart Product For WooCommerce icon Floating Cart Product For WooCommerce300+ installs apply_filters( 'woocommerce_cart_item_product_id', $values['product_id'], $values, $key ) main/frontend/fcpfw_react_cart.php:31
  63. Free Product Sample for WooCommerce icon Free Product Sample for WooCommerce200+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/partials/woocommerce/cart/cart.php:42
  64. Fast Cart icon Fast Cart200+ installs apply_filters( 'woocommerce_cart_item_product_id', $fast_cart_cart_item['product_id'], $fast_cart_cart_item, $fast_cart_cart_item_key ) includes/templates/fast-mini-cart.php:67
  65. KiriminAja Official icon KiriminAja Official200+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/woocommerce/cart/cart.php:45
  66. Floating Minicart for WooCommerce icon Floating Minicart for WooCommerce200+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/awfm-frontend.php:179
  67. Visual Builder icon Visual Builder200+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/woocommerce/mini-cart.php:50
  68. Shopready icon Shopready100+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) src/extension/templates/presets/cart/cart.php:67
  69. Modal COD Form for woocommerce icon Modal COD Form for woocommerce100+ installs apply_filters( 'woocommerce_cart_item_product_id', $modalcodf_cart_item['product_id'], $modalcodf_cart_item, $modalcodf_cart_item_key ) templates/shop/cart/mini-cart.php:26
  70. RestroFood Lite icon RestroFood Lite100+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) template/woocommerce/cart/mini-cart.php:34
  71. ShopMaker icon ShopMaker90+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/widgets/sm-parts/cart-table.php:34
  72. AMP WooCommerce icon AMP WooCommerce90+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/cart.php:36
  73. StoreDisplay icon StoreDisplay80+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/features/class-proddisp-cart.php:473
  74. Gift Vouchers for WooCommerce icon Gift Vouchers for WooCommerce70+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/cart.php:35
  75. bSecure icon bSecure60+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/templates/mini-cart.php:32
  76. WebSync Checkout for Elementor icon WebSync Checkout for Elementor50+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/custom-cart.php:44
  77. Sidebar Cart for WooCommerce icon Sidebar Cart for WooCommerce50+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/scw-review.php:21
  78. Atomic Addons icon Atomic Addons50+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/widgets/mini-cart.php:1451
  79. Productive Commerce icon Productive Commerce40+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/common/db/db_transactions_minicart.php:92
  80. Awesome Checkout Templates icon Awesome Checkout Templates40+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/front-checkout.php:604
  81. Drawer Sliding icon Drawer Sliding40+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) woocommerce/cart/mini-cart.php:51
  82. SCM icon SCM40+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) scd_renders.php:2432
  83. Similar Products icon Similar Products30+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) class/ced_similar-products-class.php:475
  84. Web To Print Shop : uDraw Designer icon Web To Print Shop : uDraw Designer30+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/w2pshop-udraw-class.php:1242
  85. NC Ajax Cart for woocommerce icon NC Ajax Cart for woocommerce30+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/includes/woocommerce/templates/cart/mini-cart.php:28
  86. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/templates/cart/cart.php:44
  87. Restaurant Menu / bulk order plugin for WooCommerce icon Restaurant Menu / bulk order plugin for WooCommerce20+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) front/view/woocommerce/cart/cart-empty.php:58
  88. Elite Elementor Addons and Widgets icon Elite Elementor Addons and Widgets20+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/woocommerce/templates/cart/cart.php:43
  89. Educat Elementor LMS Addon icon Educat Elementor LMS Addon20+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/extension/float-cart/index.php:72
  90. Max Elements for Elementor icon Max Elements for Elementor10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) elementor/helpers/woo_cart.php:76
  91. SBS icon SBS10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart/cart.php:37
  92. ShopExtra icon ShopExtra10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/classes/Utilities.php:1366
  93. Hygglig Checkout icon Hygglig Checkout10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) classes/views/html-checkout-cart.php:25
  94. Cart Dropdown icon Cart Dropdown10+ installs apply_filters( 'woocommerce_cart_item_product_id', $values['product_id'], $values, $item ) cart-dropdown-webaddict.php:55
  95. Express Shop for WooCommerce Product Table icon Express Shop for WooCommerce Product Table10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/cart/cart.php:42
  96. Floating Cart Woocommerce icon Floating Cart Woocommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/classes/class-floating-cart-output.php:66
  97. Categorized Cart Page For Woocommerce icon Categorized Cart Page For Woocommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart.php:54
  98. ACL icon ACL10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/cart/class-wooacd-cart-frontend.php:76
  99. WooBag Cart Popup Lite for WooCommerce icon WooBag Cart Popup Lite for WooCommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/templates/woo-bag-public-display-content.php:307
  100. Manual Orders for Woocommerce icon Manual Orders for Woocommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/checkout/cart.php:38
  101. C4D Woo Cart Popup & Slide icon C4D Woo Cart Popup & Slide10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/popup-cart.php:27
  102. Sales UP for WooCommerce icon Sales UP for WooCommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/class-wc-sales-up-checkout.php:494
  103. Cart Products for WordPress icon Cart Products for WordPress10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item->get_id(), $cart_item, $cart_item_key ) templates/products-list.php:23
  104. Quicker icon Quicker10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) core/frontend/frontend.php:260
  105. Credits System for WooCommerce icon Credits System for WooCommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/functions.class.php:47
  106. Single Page Restaurant Menu for WooCommerce icon Single Page Restaurant Menu for WooCommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/template-parts/mini-cart-contents.php:18
  107. Cart Popup for WooCommerce icon Cart Popup for WooCommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/partials/wcp-cart-content.php:15
  108. Alter Inventory icon Alter Inventory10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) admin/partials/woocommerce-alter-inventory-custom-cart.php:22
  109. Formdev icon Formdev10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/cart.php:96
  110. wcOne icon wcOne10+ installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) template/woocommerce/cart/mini-cart.php:34
  111. side cart plus for woocommerce icon side cart plus for woocommerce10+ installs apply_filters( 'woocommerce_cart_item_product_id', $values['product_id'], $values, $item ) class-option/siwscp-front-side.php:589
  112. Ajax mini cart for Woocommerce icon Ajax mini cart for WoocommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) src/zt-front-end.php:63
  113. ShareDisc icon ShareDiscFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) public/class-sharedisc-public.php:190
  114. ShopGlut icon ShopGlutFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) modules/side-cart/frontend/class-shopglut-side-cart.php:753
  115. Goopter advanced integration for PayPal Complete Payments and for WooCommerce icon Goopter advanced integration for PayPal Complete Payments and for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) goopter-advanced-integration-for-paypal-complete-payments-and-for-woocommerce.php:537
  116. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/class-mcrpd-checkout-loader.php:1602
  117. FoodMaster Lite icon FoodMaster LiteFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) inc/func/mini-cart-system.php:574
  118. Samply icon SamplyFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/Frontend/views/woocommerce/cart/cart.php:42
  119. HadePay icon HadePayFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) include/custom-functions.php:394
  120. RS Cart Drawer for WooCommerce icon RS Cart Drawer for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $boostcart_item['product_id'], $boostcart_item, $boostcart_item_key ) templates/cart-drawer.php:67
  121. Swift Checkout for WooCommerce icon Swift Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/frontend/mini-cart.php:58
  122. Ajax Floating Cart icon Ajax Floating CartFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) template/woocommerce/cart/mini-cart.php:32
  123. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $key ) inc/blocks/blocks-cart.php:112
  124. StoreBooster icon StoreBoosterFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $ttsb_cart_item['product_id'], $ttsb_cart_item, $ttsb_cart_item_key ) templates/cart/cart-contents.php:27
  125. PaymentIQ Checkout icon PaymentIQ CheckoutFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/paymentiq-cart-page.php:42
  126. Portus Cart Page icon Portus Cart PageFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $portus_item['product_id'], $portus_item, $portus_key ) templates/cart.php:21
  127. CafePress icon CafePressFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $itemVal['product_id'], $itemVal, $itemKey ) public/partials/cafepress-public-display.php:27
  128. Portal Cloud 9 icon Portal Cloud 9Fewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) templates/tabs/cart.php:75
  129. Assist Store icon Assist StoreFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) ajax/class-assist-store-ajax-handler.php:221
  130. ShopMetrics for WooCommerce icon ShopMetrics for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/class-shopmetrics-cart-tracker.php:144
  131. Arshida Toolkit for WooCommerce icon Arshida Toolkit for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) src/WC/Cart/Helper.php:102
  132. Webifysys Quantity and Pricing Tiers for WooCommerce icon Webifysys Quantity and Pricing Tiers for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/class-wbfsqpr-quote-pdf.php:152
  133. Quick Cart icon Quick CartFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/class-quickcart-core.php:326
  134. WPFIA QuickCart for WooCommerce icon WPFIA QuickCart for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) includes/class-quickcart-drawer.php:274
  135. WPHobby WooCommerce Mini Cart icon WPHobby WooCommerce Mini CartFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) cart/mini-cart.php:47
  136. IPS Cart&Checkout for WooCommerce icon IPS Cart&Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', (int) ( $cart_item['product_id'] ?? $product->get_id() ), $cart_item, $cart_item_key ) includes/classes/Front/Cart/CartDataBuilder.php:115
  137. Upsell Blast Lite icon Upsell Blast LiteFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $sgbl_cart_item['product_id'], $sgbl_cart_item, $sgbl_cart_item_key ) layouts/side-cart/items.php:24
  138. YeeMenu icon YeeMenuFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) woocommerce/templates/cart/mini-cart.php:31
  139. Ajax instant buy checkout for WooCommerce icon Ajax instant buy checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) template/cart.php:15
  140. Bazario icon BazarioFewer than 10 installs apply_filters( 'woocommerce_cart_item_product_id', $cart_item['product_id'], $cart_item, $cart_item_key ) elements/widgets/cart-products/cart.php:19

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.