B2BKing and WPC fixed-price composite compatibilit

webwizards avatar
webwizards
PHP
10/19/2026 9:39 AM
195 B
10
No Index
Never
<?php
add_filter( 'b2bking_custom_cart_item_ignore_condition', function ( $ignore, $cart_item ) {
	if ( isset( $cart_item['wooco_parent_id'] ) ) {
		return true;
	}

	return $ignore;
}, 10, 2 );
Editor is loading...