> For the complete documentation index, see [llms.txt](https://doc.product-reg.varify.xyz/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.product-reg.varify.xyz/admin/forms/form-settings/limit-product-search-to-specific-products.md).

# Limit product search to specific products

In some cases, you may prefer to limit customers to certain products when they are filling out the form. This can be enabled by completing the following steps.

### Step #1 - Identify and create a product collection for the allowed products

First, determine which products customers are allowed to register, then create a **Product Collection** in the Shopify admin that contains those products.\
Go to **Shopify admin** > **Products** > **Collections** > **Create collection**. You can either manually add the products to this collection or use a smart collection to automatically select the products.\
(Note the **collection name**, you will need that in a later step.)

### Step #2 - Ensure the form's design includes a **Product field**

Go to the **App admin** > **Forms** > Select the form > **Design**. Ensure there is a Product field in the design. If it is missing,select Product in the **Add Fields** section and input the product into the text field.

<figure><img src="/files/kdHMGEkAfyNM2TIpdCKC" alt=""><figcaption></figcaption></figure>

### Step #3 - Enable the limit product search function in the form settings

Once the above steps are done, go to **App admin** > **Forms** > **Settings** > **General** > **Limit product search > Enable**.

<figure><img src="/files/HyVkka9TxgtAnwmr6hsM" alt=""><figcaption></figcaption></figure>

### Step #4 - **Save the Collection**

After selecting the collection, click **Add** to confirm it. Then, save the settings to ensure the changes take effect. This will restrict the product search to the specified collection.

Optionally, you can enable **Use dropdown on product search**. This will convert the product field into a dropdown menu, allowing customers to easily select a product from the collection.

Finally, test the form on the frontend to ensure it functions as expected.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.product-reg.varify.xyz/admin/forms/form-settings/limit-product-search-to-specific-products.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
