If you want a form with checkboxes and then depending the checkboxes selected, found the results which match the "collection" tv with the selected values, use the following snippet call on the landing page:
[[!AdvSearch? &queryHook=`myQHook` &withTVs=`collection` &fields=`pagetitle,introtext,content`]]
And then create a snipppet named myQHook with the following content (not tested):
<?php
$collectionArray = array();
if (isset($_REQUEST['Supreme'])) $collectionArray[] = 'Supreme'; //
if (isset($_REQUEST['Grande Collection'])) $collectionArray[] = 'Grande Collection';
if (isset($_REQUEST['Avenue Collection'])) $collectionArray[] = 'Avenue Collection';
if (isset($_REQUEST['Elegance Collection'])) $collectionArray[] = 'Elegance Collection';
if (isset($_REQUEST['Shine Collection'])) $collectionArray[] = 'Shine Collection';
$collectionList = implode(',',$collectionArray); // set up of the list of selected collection
$andConditions = array(
'tv.collection:IN' => $collectionList // get only the results with "collection" tv value among the selected values
);
$qhDeclaration = array(
'qhVersion' => '1.2',
'andConditions' => $andConditions
);
$hook->setQueryHook($qhDeclaration);
return true;
If you would like customize the search results and display some other tv values inside the results, add :
&tpl=`searchResult` and &includeTVs=`colour-change,design,dimensions,joint,range,refining,species,surface,warranty`
where searchResult is a customized version of the default "result" template.
You can find more informations about queryHook with the
queryhook documentation and
demonstrations.