# Search product on Quotes page

**Step 1**: Enable the option in the Settings

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FhCaysOrI1s91GaDvojhh%2Fimage.png?alt=media&#x26;token=a2e3d3ba-c9bd-437b-a906-45de9183501a" alt=""><figcaption></figcaption></figure>

**Step 2**: Add a liquid file into your theme

Select a theme > Edit code > Create a new file **quote-search.liquid** in Sections folder.

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FeMeRPgLQhcIYcNNa5F1K%2Fimage.png?alt=media&#x26;token=3b024896-1065-4a31-b4c4-cb4f43c8a79b" alt=""><figcaption></figcaption></figure>

And insert liquid code below into **quote-search.liquid**

```
{%- if predictive_search.performed -%}
{
"results_count": {{ predictive_search.resources.products.size }},
"products": [
	{%- for product in predictive_search.resources.products -%}
    {%- unless forloop.first -%},{%- endunless -%}
	{%- if product.id != '' -%}
	{
		"available": {{ product.available | json }},
		"id": {{ product.id }},
		"handle": "{{ product.handle }}",
		"options": {{ product.options | json }},
		"variants": {{ product.variants | json }},
		"price": {{ product.price }},
		"tags": {{ product.tags | json }},
		"title": {{ product.title | json }},
		"type": {{ product.type | json }},
		"url": "{{ product.url }}",
		"vendor": {{ product.vendor | json }},
		"featured_image": "{{ product.featured_image.src | image_url }}",
		"collections": {{ product.collections | map: 'id' | json }}
	}
	{%- endif -%}
	{%- endfor -%}
]
}
{%- else -%}
  { "results_count": 0, "products": [] }
{%- endif -%}
```

Check result on the quote list page

<figure><img src="https://1818632981-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjbICnwGwANWvU46mHWcU%2Fuploads%2FAlEf0NgaoahDE7S8zLr4%2Fimage.png?alt=media&#x26;token=40c4b15a-6b2e-401a-b962-53bec9bfc505" alt=""><figcaption></figcaption></figure>
