We have some add-on products that we hide from the search results page using the below code:
But the items are still appearing in the fasten header preview. I tried wrapping my conditional around this code:
But that didn't work. I can't quite tell what code I need to wrap the conditional around. Or maybe there is a better way to hide active products from Search?
Code:
<mvt:if expr="NOT('PROD-CODE' CIN l.settings:product:code OR 'PROD-CODE2' CIN l.settings:product:code" >
Code:
<span class="x-search-preview t-search-preview" data-hook="search-preview" data-mm_searchfield_menu="Yes" data-mm_searchfield_id="x-search-preview"></span>
Comment