Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

nestedquiz

$tax_query = array(
	'relation' => 'AND',
	array(
		'relation' => 'AND',
		array(
			'taxonomy'         => 'pa_recommended-usage-brew',
			'terms'            => array( 'coffee-maker-classic', ' filter-group' ),
			'field'            => 'slug',
			'operator'         => 'IN',
		),
		array(
			'taxonomy'         => 'pa_recommended-drink-add-ons',
			'terms'            => 'non-dairy-milk',
			'field'            => 'slug',
			'operator'         => 'IN',
		),
		array(
			'taxonomy'         => 'pa_type-taste-profile',
			'terms'            => array( 'fruity-group', ' fruity-and-balanced', ' chocolaty-and-fruity', ' tart-and-fruity', ' spicy-and-fruity' ),
			'field'            => 'slug',
			'operator'         => 'IN',
		),
	),
	array(
		'taxonomy'         => 'language',
		'terms'            => 'de',
		'field'            => 'slug',
		'operator'         => 'IN',
	),
	array(
		'taxonomy'         => 'product_visibility',
		'terms'            => 'exclude-from-catalog',
		'field'            => 'name',
		'operator'         => 'NOT IN',
	),
);