WordPress at a glance
filter is not described

woocommerce_variation_is_purchasable filter-hook . WC 1.0

Returns false if the product cannot be bought. Override abstract method so that: i) Disabled variations are not be purchasable by admins. ii) Enabled variations are not purchasable if the parent product is not purchasable.


add_filter( 'woocommerce_variation_is_purchasable', 'filter_function_name_8195', 10, 2 );
function filter_function_name_8195( $condition, $that ){
	// filter...

	return $condition;

Where the hook is called

woocommerce/includes/class-wc-product-variation.php 550
return apply_filters( 'woocommerce_variation_is_purchasable', $this->variation_is_visible() && parent::is_purchasable() && ( 'publish' === $this->parent_data['status'] || current_user_can( 'edit_post', $this->get_parent_id() ) ), $this );

Where in WP core the hook is used WooCommerce

Usage not found.