> 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="https://3859006616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUaNtdxb17uIrsP3GBYuN%2Fuploads%2FtFDeIIQWuu4lRMoLZHHg%2F2025-07-02_15-48-45.png?alt=media&amp;token=a7cbee0f-f08b-41fd-818e-cb742de0cdab" 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="https://3859006616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUaNtdxb17uIrsP3GBYuN%2Fuploads%2FXKZXs7XJa941yUu43rWa%2F2025-07-02_15-50-21.png?alt=media&amp;token=135080bc-224a-4751-bc7a-d039b5eb8d88" 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="https://3859006616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUaNtdxb17uIrsP3GBYuN%2Fuploads%2Fjl7yw0X428gsD2PPs9FQ%2F2025-07-07_11-03-09.png?alt=media&amp;token=c88e3ef2-fdd9-4abd-aca8-ed6e11cbfcc5" 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="https://3859006616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FUaNtdxb17uIrsP3GBYuN%2Fuploads%2FQUb39UPR0zJhK63cl7lK%2F2025-07-02_15-56-59.png?alt=media&amp;token=6047a26d-cc24-4b56-ad25-83253c3f940d" 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.samita.io/order-limit/order-limit-rules/create-new-order-limit/set-product-conditions.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
