WordPress filter hook

woocommerce_checkout_cart_item_visible

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

“Filter whether this cart item is visible in the checkout review order table.”

How to use woocommerce_checkout_cart_item_visible

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_checkout_cart_item_visible', function( $value, $cart_item, $cart_item_key ) {
	// Change $value here.
	return $value;
}, 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.

56 plugins that fire woocommerce_checkout_cart_item_visible

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_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/checkout/review-order.php:42
  2. Essential Addons for Elementor icon Essential Addons for Elementor1+ million installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/Template/Woocommerce/Checkout/Woo_Checkout_Helper.php:421
  3. GTM4WP icon GTM4WP700,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item_data, $cart_item_id ) src/Modules/WooCommerce/PageDataLayer.php:565
  4. CartFlows icon CartFlows200,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) modules/checkout/templates/checkout/instant-checkout-review-order.php:30
  5. ShopEngine icon ShopEngine90,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) widgets/checkout-review-order/screens/review-order-template.php:22
  6. ShopLentor icon ShopLentor80,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/modules/shopify-like-checkout/includes/classes/Frontend/Manage_Checkout.php:516
  7. Germanized for WooCommerce icon Germanized for WooCommerce70,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/checkout/review-order-product-table.php:34
  8. FunnelKit icon FunnelKit30,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) modules/checkouts/builder/elementor/html/mini-cart/mini-cart-items.php:48
  9. Fluid Checkout for WooCommerce icon Fluid Checkout for WooCommerce20,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/fc/checkout-steps/checkout/review-order.php:57
  10. ShopBuilder icon ShopBuilder10,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/elementor/checkout/customized-order-review.php:19
  11. Airwallex Online Payments Gateway icon Airwallex Online Payments Gateway10,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $airwallex_cart_item, $airwallex_cart_item_key ) html/inc/cart.php:28
  12. SellKit icon SellKit7,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/block-editor/blocks/checkout/inner-blocks/review-order/class.php:94
  13. Donation Platform for WooCommerce: Fundraising & Donation Management icon Donation Platform for WooCommerce: Fundraising & Donation Management6,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/wc-templates/checkout/review-order.php:30
  14. WPFunnels icon WPFunnels5,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) woocommerce/templates/checkout/review-order.php:73
  15. WowStore icon WowStore4,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) blocks/woo/checkout/order_review/Template.php:29
  16. One page checkout and layouts for woocommerce icon One page checkout and layouts for woocommerce3,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) WooCommerce/checkout/order-table-layouts/style-1.php:18
  17. Responsive Addons for Elementor icon Responsive Addons for Elementor3,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) traits/responsive-addons-for-elementor-woo-checkout-helper.php:447
  18. MStore API icon MStore API2,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/mstore-api-template.php:382
  19. WP Hotel Booking WooCommerce icon WP Hotel Booking WooCommerce1,000+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/woocommerce/checkout/review-order.php:40
  20. ShopPress icon ShopPress600+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) public/templates/checkout/checkout-order-review.php:27
  21. Global Payments SecureSubmit Gateway icon Global Payments SecureSubmit Gateway500+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $item, $key ) templates/masterpass-review-order.php:55
  22. StoreBuild icon StoreBuild400+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $storebuild_cart_item, $storebuild_cart_item_key ) public/woocommerce/checkout/review-order.php:29
  23. Hide Address Fields for WooCommerce icon Hide Address Fields for WooCommerce300+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) woocommerce/checkout/review-order.php:34
  24. FoodBook Lite icon FoodBook Lite300+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) template/woocommerce/checkout/review-order.php:34
  25. Additional Fees For WooCommerce Checkout icon Additional Fees For WooCommerce Checkout200+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) woocommerce/checkout/review-order.php:34
  26. KiriminAja Official icon KiriminAja Official200+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/woocommerce/checkout/review-order.php:38
  27. Shopready icon Shopready100+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) src/extension/elewidgets/widgets/checkout/template-part/review-order.php:47
  28. Pay with ATH Movil (WooCommerce payment gateway) icon Pay with ATH Movil (WooCommerce payment gateway)100+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) woocommerce-gateway-athmovil.php:285
  29. Payment Gateway for WooCommerce with Stripe icon Payment Gateway for WooCommerce with Stripe80+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/payment-methods/stripe-checkout-redirect.php:254
  30. Product Page Customizer for WooCommerce icon Product Page Customizer for WooCommerce60+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $sppcfw_cart_item, $sppcfw_cart_item_key ) frontend/Enable-Quick-Checkout/templates/checkout/default-review-order.php:34
  31. Checkout Custom Fields Builder for WooCommerce icon Checkout Custom Fields Builder for WooCommerce30+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/frontend/checkout/review-order-table.php:26
  32. One Page Checkout for WooCommerce icon One Page Checkout for WooCommerce30+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) public/templates/checkout/review-order.php:30
  33. Global Seller Services for WooCommerce icon Global Seller Services for WooCommerce10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/Checkout/order-review.php:72
  34. Briqpay for WooCommerce icon Briqpay for WooCommerce10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/class-b2b-checkout.php:522
  35. Max Elements for Elementor icon Max Elements for Elementor10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) elementor/helpers/woo_checkout.php:416
  36. On-Page Checkout for WooCommerce icon On-Page Checkout for WooCommerce10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/ajax-handler.php:439
  37. Rejoiner for WooCommerce icon Rejoiner for WooCommerce10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/class-wc-rejoiner.php:323
  38. Custom & One-Page Checkout for Woo icon Custom & One-Page Checkout for Woo10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/woocommerce/checkout/review-order.php:39
  39. side cart plus for woocommerce icon side cart plus for woocommerce10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $values, $item ) class-option/siwscp-front-side.php:624
  40. WPC icon WPC10+ installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) app/inc/Addons/wpc-onepage-checkout/templates/checkout/cart-review.php:17
  41. YayCheckout icon YayCheckoutFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) includes/Renderer/CheckoutFragments.php:1025
  42. SKYRO Checkout for WooCommerce icon SKYRO Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) src/FrontEnd/TemplateFiles/TemplateParts/order-items.php:19
  43. IPS Cart&Checkout for WooCommerce icon IPS Cart&Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $item, $key ) includes/classes/Adapter/CartItemFactory.php:25
  44. Checkout Popup icon Checkout PopupFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) woocommerce/checkout/review-order.php:40
  45. Cresta Checkout for WooCommerce icon Cresta Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cresta_bc_item, $cresta_bc_key ) templates/wc/checkout/review-order.php:21
  46. Easy2Cuba for WooCommerce icon Easy2Cuba for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/checkout/review-order.php:29
  47. Checkoutify Lite icon Checkoutify LiteFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/frisbee/template.php:87
  48. Web22 Checkout icon Web22 CheckoutFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/checkout/review-order.php:27
  49. MCOD Minimalist Checkout for WooCommerce icon MCOD Minimalist Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/woocommerce/checkout/review-order.php:43
  50. 1Qlick icon 1QlickFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cartItem, $cartItemKey ) Api/Api.php:184
  51. BrikFront Page Builder for WooCommerce: Wishlist, Quick View, Variation Swatches & Side Cart icon BrikFront Page Builder for WooCommerce: Wishlist, Quick View, Variation Swatches & Side CartFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $item, $key ) includes/storefront/class-checkout.php:127
  52. Aiolos Checkout for WooCommerce icon Aiolos Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $aiolos_item, $aiolos_key ) templates/checkout/review-order.php:55
  53. ithan devvn checkout for woocommerce icon ithan devvn checkout for woocommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) templates/checkout/review-order.php:23
  54. Bazario icon BazarioFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) elements/widgets/checkout-order-review/order-review-template.php:22
  55. WS Custom Checkout icon WS Custom CheckoutFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) checkout/templates/for_replacement/review-order.php:38
  56. Customize Checkout for WooCommerce icon Customize Checkout for WooCommerceFewer than 10 installs apply_filters( 'woocommerce_checkout_cart_item_visible', true, $cart_item, $cart_item_key ) public/customize-wc-checkout-buy-public.php:121

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.