WC_Product_External::is_purchasablepublicWC 1.0

Returns false if the product cannot be bought.

Method of the class: WC_Product_External{}

Hooks from the method

Returns

true|false.

Usage

$WC_Product_External = new WC_Product_External();
$WC_Product_External->is_purchasable();

WC_Product_External::is_purchasable() code WC 10.5.0

public function is_purchasable() {
	return apply_filters( 'woocommerce_is_purchasable', false, $this );
}