Search Component - Filter

Chandra, this is not currently supported via the Page Composer, but once we release Banzai Update 2 (at the end of this week), there will be a supported way to do this via XML, which I’ll share with you now even though it is not going to work until you get Banzai Update 2:

  1. Click to edit your page’s XML (bottom right corner of Page Composer)
  2. Find your Search component within the XML by looking for “search”, you should see something like this:

  1. Now find the node corresponding to the Product2 object, and find the tag. Immediately after the tag, and copy in the following XML:
<conditions>
<condition type="fieldvalue" field="IsActive" operator="=" value="true" enclosevalueinquotes="false"/>
</conditions>
  1. Save your page.
  2. Wait till Banzai Update 2 comes out, and then try your search again — assuming that your searching on the Product2 object, your records should be limited to just those Product2 records where the IsActive field is true.