Automattic\WooCommerce\StoreApi\Exceptions

NotPurchasableException{}WC 1.0└─ StockAvailabilityException

NotPurchasableException class.

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

No Hooks.

Usage

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

Methods

No Methods in class.

NotPurchasableException{} code WC 10.3.3

class NotPurchasableException extends StockAvailabilityException {}