Automattic\WooCommerce\StoreApi\Exceptions

TooManyInCartException{}WC 1.0

TooManyInCartException class.

This exception is thrown when more than one of a product that can only be purchased individually is in a cart.

Хуков нет.

Использование

$TooManyInCartException = new TooManyInCartException();
// use class methods

Методы

Нет Методов у класса.

Код TooManyInCartException{} WC 7.1.0

class TooManyInCartException extends StockAvailabilityException {}