WC_Product_Grouped::is_purchasable()publicWC 1.0

Returns false if the product cannot be bought.

{} It's a method of the class: WC_Product_Grouped{}

Hooks from the method

Return

true|false.

Usage

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

Code of WC_Product_Grouped::is_purchasable() WC 6.8.2

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