> For the complete documentation index, see [llms.txt](https://docs.samita.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.samita.io/order-limit/order-limit-rules/create-new-order-limit/set-product-conditions.md).

# Set product conditions

The Samita Order Limit app gives you full control over which products a rule applies to. You can target all products, specific collections, individual items, or products with certain tags. This makes it easy to create product-specific order restrictions - like limiting pre-order items or controlling access to high-demand products.

Follow this guide to set up product-based targeting for your order limit rules.

### 🎯 Why Use Product Conditions?

Product conditions help you:

* Apply limits only to selected items (e.g., “Max 2 per customer” for limited-edition products)
* Enforce bulk ordering requirements for specific collections (e.g., “Minimum 10 units” for wholesale products)
* Control how different products are sold without affecting your entire store

### 👣 How to Set Product Conditions

When creating or editing a rule:

1. Open the Samita Order Limit app in your Shopify admin
2. Click an existing rule or click **Create new order limit rule** button
3. Scroll to the  **Customer conditions** section
4. Choose one of the following options:

***

#### 1. Apply to All Products (Default)

* Simply choose **All products** option apply the rule to all products in your store.

📝 Example:\
Use this option for sitewide minimum order requirements (e.g., "Minimum $20 per order").

—

#### 2. Apply to Specific Products

* Choose **Specific products** option
* Click **Select Products** or **Browser** button
* Use the search box to select individual products that should be affected by this rule
* Click **Select**&#x20;

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

📝 Example:\
Apply a limit only to specific items like “Limited Edition Hoodie” or “Pre-Order Laptop”.

—

#### 3. Apply to Collections

* Choose **Specific collections** option
* Click **Select Collections** field or **Browse** button
* Choose one or more Shopify collections from your store
* Click **Select**&#x20;

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

📝 Example:\
Set a “Minimum 5 units” rule for the entire “Wholesale” collection.

—

#### 4. Apply to Products with Specific Tags

* Enter one or more product tags in the “Product Tags” field

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

📝 Example:\
If you tag all bulk-order-only products with “bulk-only”, simply enter that tag here. The rule will apply only to those tagged products.

💡 Tip: You can manage tags on products by going to Products > \[Select product] > Tags in your Shopify admin.

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

***

### 🔎 Testing Product-Based Rules

To test your rule:

* Visit the product or collection page on your storefront
* Add items that match the product conditions to the cart
* Try placing an order that breaks the rule
* Confirm the error message appears or checkout is blocked

—

Need help selecting the right products or conditions? Contact us at <support@samita.io> and we’ll be happy to assist!<br>


---

# 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://docs.samita.io/order-limit/order-limit-rules/create-new-order-limit/set-product-conditions.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.
