Maximum, Minimum and Multiple Quantity for WooCommerce Shops icon
eCommerce & WooCommerce

Maximum, Minimum and Multiple Quantity for WooCommerce Shops hooks reference

Maximum, Minimum and Multiple Quantity for WooCommerce Shops 3.0 has 0 actions and 4 filters, read directly from its source code on Nov 18, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Change a value Maximum, Minimum and Multiple Quantity for WooCommerce Shops is about to use
add_filter( 'isa_wc_max_qty_error_message', function( $sprintf, $new_max ) {
	// Change $sprintf here.
	return $sprintf;
}, 10, 2 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • woocommerce-max-quantity.php line 535 · used in 2 places
    apply_filters( 'isa_wc_max_qty_error_message', sprintf( __( 'You can add a maximum of %1$s %2$s’s to %3$s.', 'woocommerce-max-quantity' ), $new_max, $product_title, '<a href="' . esc_url( wc_get_cart_url() ) . '">' . __( 'your cart', 'woocommerce-max-quantity' ) . '</a>' ), $new_max );
  • woocommerce-max-quantity.php line 584 · used in 2 places
    apply_filters( 'isa_wc_max_qty_min_error_message', sprintf( __( 'You must add a minimum of %1$s %2$s’s to %3$s.', 'woocommerce-max-quantity' ), $effective_min, $product_title, '<a href="' . esc_url( wc_get_cart_url() ) . '">' . __( 'your cart', 'woocommerce-max-quantity' ) . '</a>' ), $effective_min );
  • woocommerce-max-quantity.php line 559 · used in 2 places
    apply_filters( 'isa_wc_max_qty_multiple_error_message', sprintf( __( '"%1$s" can only be bought in multiples of %2$d.', 'woocommerce-max-quantity' ), $product_title, $multiple ), $multiple, $product_title );
  • woocommerce-max-quantity.php line 513
    apply_filters( 'isa_wc_max_qty_error_message_already_had', sprintf( __( 'You can add a maximum of %1$s %2$s’s to %3$s. You already have %4$s.', 'woocommerce-max-quantity' ), $new_max, $product_title, '<a href="' . esc_url( wc_get_cart_url() ) . '">' . __( 'your cart', 'woocommerce-max-quantity' ) . '</a>', $already_in_cart ), $new_max, $already_in_cart );

Generated from Maximum, Minimum and Multiple Quantity for WooCommerce Shops's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Done for you

Rather have it built for you?

Tell us what should change and we’ll write and test the code using these hooks.

Plugin customisation

from $149

New features or changed behaviour, without editing the plugin’s files.

  • Built as a companion plugin, so updates never wipe it
  • Exact quote before we start
  • Tested on staging, then deployed

Typical turnaround: 3–7 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Can't find the right hook?

We can build the customisation for you. Describe what you need: