Automattic\WooCommerce\StoreApi\Exceptions
NotPurchasableException{}
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{} NotPurchasableException{} WC 8.7.0
class NotPurchasableException extends StockAvailabilityException {}