---
title: Min/Max Quantity
description: Learn how Min/Max Quantity works in Reactiv and how to set it up using Shopify product or variant metafields for minimum and maximum limits.
---

[Skip to content](https://info.reactiv.ai/reactiv-help-center/min-max-quantity#main-content)

![logo-mono-light](https://info.reactiv.ai/hubfs/logo-mono-light.svg)

Open main navigation

Close main navigation

- [Contact us](https://info.reactiv.ai/reactiv-help-center/how-do-i-contact-customer-support-reactiv-support-center)

[Contact us](https://info.reactiv.ai/reactiv-help-center/how-do-i-contact-customer-support-reactiv-support-center?hsLang=en-ca)

 Answers, documented.

- There are no suggestions because the search field is empty.

1. [Reactiv Help Center](https://info.reactiv.ai/reactiv-help-center?hsLang=en-ca)
2. [Building Your App](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca)
3. [App Settings](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#app-settings)

February 27, 2026

# Min/Max Quantity

## This document outlines how to configure the Min/Max Quantity feature and how it behaves.

### Setup

This feature supports both Product and Variant metafields. You will need to create two metafields in Shopify Admin:

- A Minimum Quantity metafield
- A Maximum Quantity metafield

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-Feb-19-2026-06-08-59-5591-PM.png?width=670&height=378&name=undefined-Feb-19-2026-06-08-59-5591-PM.png)

### Step 1: Create and assign metafields in Shopify Admin

After creating the metafields, assign them to the relevant products or variants.

#### To assign Product metafields:

1. Navigate to the desired product in Shopify Admin.
2. Scroll to the Metafields section.
3. Locate the minimum and maximum metafields you created.
4. Enter the desired values.

You do not need to set both values. You can set only a minimum or only a maximum if needed.

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-1.png?width=670&height=374&name=undefined-1.png)

#### To assign Variant metafields:

1. Navigate to the desired product and select a variant.
2. Scroll to the Metafields section.
3. Locate the variant metafields you created.
4. Enter the desired values.

Again, both values are optional. You can configure only one if desired.

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-Feb-19-2026-06-09-00-0560-PM.png?width=670&height=352&name=undefined-Feb-19-2026-06-09-00-0560-PM.png)

### Step 2: Expose the metafields in Reactiv Dashboard

1. In the Reactiv Dashboard, go to **App Settings \> Metafields**.
2. Locate the minimum and maximum metafields you created.
3. Toggle them on to expose them to the app.

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-4.png?width=670&height=377&name=undefined-4.png)

### Step 3: Configure Product Quantity Limits

1. Navigate to **App Settings \> Product**.

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-3.png?width=670&height=380&name=undefined-3.png)

     2. Find the **Product quantity limits** section.

     3. Enable the toggle if it is not already enabled. This will expose the following fields:

- Metafield Type
- Minimum quantity limit
- Maximum quantity limit

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-2.png?width=670&height=379&name=undefined-2.png)

      4. Select the metafield type you created (**Product** or **Variant**).  
     5. Select the corresponding minimum and maximum metafields from the dropdowns.

![](https://info.reactiv.ai/hs-fs/hubfs/undefined-Feb-19-2026-06-09-00-4785-PM.png?width=670&height=379&name=undefined-Feb-19-2026-06-09-00-4785-PM.png)

     6. Save and publish your configuration.

### How It Works

The quantity stepper enforces limits based on metafield values and available inventory.

#### General behavior

- If a minimum value is set, the quantity stepper will not allow the user to go below that value.
- If a maximum value is set, the stepper will compare: 
    - The variant’s available inventory, and
    - The maximum metafield value

The lower of these two values will be used as the effective maximum.

- If no minimum value is set, the default minimum will be 1.
- If no maximum value is set, the maximum will default to the available inventory.

#### Product metafield behavior

If the metafield type is set to Product, the configured minimum and maximum values will apply to all variants of that product.

#### Variant metafield behavior

If the metafield type is set to Variant, the minimum and maximum values will be applied individually to each variant, based on that variant’s metafield values.

- [Getting Started With Reactiv](https://info.reactiv.ai/reactiv-help-center/getting-started-with-reactiv?hsLang=en-ca)
- [Building Your App](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#main-content)

    - [App Settings](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#app-settings)
    - [Your Home Screen](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#your-home-screen)
    - [Misc. App Building Blocks](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#misc-app-building-blocks)
    - [Other Screens](https://info.reactiv.ai/reactiv-help-center/building-your-app?hsLang=en-ca#other-screens)
- [Publishing Your App](https://info.reactiv.ai/reactiv-help-center/publishing-your-app?hsLang=en-ca#main-content)

    - [iOS App](https://info.reactiv.ai/reactiv-help-center/publishing-your-app?hsLang=en-ca#ios-app)
- [Building Your Reactiv Clips](https://info.reactiv.ai/reactiv-help-center/building-your-reactiv-clips?hsLang=en-ca#main-content)

    - [Success with Reactiv Clips](https://info.reactiv.ai/reactiv-help-center/building-your-reactiv-clips?hsLang=en-ca#success-with-reactiv-clips)
    - [Customizing Your Reactiv Clips Experiences](https://info.reactiv.ai/reactiv-help-center/building-your-reactiv-clips?hsLang=en-ca#customizing-your-reactiv-clips-experiences)
    - [Initializing Your Reactiv Clips](https://info.reactiv.ai/reactiv-help-center/building-your-reactiv-clips?hsLang=en-ca#initializing-your-reactiv-clips)
    - [About Reactiv Clips](https://info.reactiv.ai/reactiv-help-center/building-your-reactiv-clips?hsLang=en-ca#about-reactiv-clips)
- [Integrations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#main-content)

    - [Analytics & Push Notifications](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#analytics-push-notifications)
    - [App Install Attribution](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#app-install-attribution)
    - [Back in Stock Alerts](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#back-in-stock-alerts)
    - [Chat & Customer Support](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#chat-customer-support)
    - [Conversion Integrations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#conversion-integrations)
    - [Discovery, Search & Personalization](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#discovery-search-personalization)
    - [Fraud Protection](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#fraud-protection)
    - [Loyalty](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#loyalty)
    - [Order Fulfillment](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#order-fulfillment)
    - [Product Recommendations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#product-recommendations)
    - [Order Tracking & Returns](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#order-tracking-returns)
    - [Product Bundles](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#product-bundles)
    - [Reviews Integrations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#reviews-integrations)
    - [Subscriptions](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#subscriptions)
    - [Video Shopping](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#video-shopping)
    - [Wishlist Integrations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#wishlist-integrations)
    - [Profile Integrations](https://info.reactiv.ai/reactiv-help-center/integrations?hsLang=en-ca#profile-integrations)
- [Platform Highlights](https://info.reactiv.ai/reactiv-help-center/platform-highlights?hsLang=en-ca)
- [Success with Reactiv](https://info.reactiv.ai/reactiv-help-center/success-with-reactiv?hsLang=en-ca#main-content)

    - [Sending Push Notifications](https://info.reactiv.ai/reactiv-help-center/success-with-reactiv?hsLang=en-ca#sending-push-notifications)
- [Building with AI](https://info.reactiv.ai/reactiv-help-center/building-with-ai?hsLang=en-ca)
- [FAQ](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#main-content)

    - [Performance & Data](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#performance-data)
    - [General & Billing](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#general-billing)
    - [Getting Started](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#getting-started)
    - [Technical Issues & Troubleshooting](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#technical-issues-troubleshooting)
    - [App Management](https://info.reactiv.ai/reactiv-help-center/faq?hsLang=en-ca#app-management)
- [Research](https://info.reactiv.ai/reactiv-help-center/research?hsLang=en-ca)

[![logo-mono-dark](https://info.reactiv.ai/hubfs/logo-mono-dark.svg "logo-mono-dark")](http://reactiv.ai)

<https://www.linkedin.com/company/reactivapp/>

Copyright © 2026, Reactiv