Automattic\WooCommerce\StoreApi\Exceptions

NotPurchasableException{}WC 1.0

NotPurchasableException class.

This exception is thrown when an item in the cart is not able to be purchased.

Хуков нет.

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

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

Методы

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

Код NotPurchasableException{} WC 8.7.0

class NotPurchasableException extends StockAvailabilityException {}