do_action( 'woocommerce_cart_item_set_quantity', string $cart_item_key, int $quantity, WC_Cart $this )

Fired after qty has been changed.


Description Description


Parameters Parameters

$cart_item_key

contains the id of the cart item. This may be empty if the cart item does not exist any more.

$quantity

contains the quantity of the item.

$this

Cart class.


Top ↑

Source Source

File: includes/class-wc-cart.php


Top ↑

Changelog Changelog

Changelog
Version Description
3.6.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.