How to Set Min/Max Quantity Limits on Product Options
Shopify is a powerful e-commerce platform, but it doesn’t natively support advanced quantity control for product options. If you’re selling customized, bundled, or wholesale products and need to enforce minimum or maximum purchase limits per product or per option, you’ll need to go beyond Shopify's default settings.
In this guide, we’ll walk you through:
- When and why to use quantity limits
- The limitations of Shopify’s native features
- How to implement min/max quantity logic with an app like SM Product Options
Why Set Min/Max Quantity Rules?
Here are common reasons store owners use quantity limits:
- Wholesale pricing: Sell only in lots of 10, 25, etc.
- Customization cost justification: Require a minimum order to enable personalization.
- Inventory control: Limit the max amount of a specific add-on or ingredient.
- Compliance: Age-restricted or regulated products often require purchase limits.
Shopify Native Limitations
Shopify lets you control inventory and limit overall quantity per product through variants, but:
- It does not allow quantity rules per product option (e.g., size, add-on, engraving).
- It lacks the ability to define custom limits per input field (e.g., you can't restrict a number input field from 2 to 10 units).
- There's no conditional logic for enforcing rules like "minimum 5 if this option is selected."
Solution: Use SM Product Options App
SM Product Options allows Shopify merchants to create custom product fields with control over quantity ranges.
Features Include:
- Min/Max quantity limits for number input fields
- Conditional logic based on selections
- Option-specific pricing and validation
- Custom error messages for invalid entries
Step-by-Step: Set Min/Max Quantity Limits with SM Product Options
Step 1: Install the App
Go to SM Product Options on the Shopify App Store and click “Add app.”
Step 2: Create a Number Field
- In the app dashboard, go to the Options section.
- Click “Create New Option” and select “Number Input” as the field type.
Step 3: Set Min/Max Rules
- Set Minimum Value: Example, 5
- Set Maximum Value: Example, 50
- Add custom validation messages like “Please enter at least 5 units.”
Step 4: Apply Option Set to Product
- Assign this option set to a product or collection.
- Preview on the storefront to ensure the logic works as expected.
Step 5 (Optional): Add Conditional Logic
Example: Only show the number field if “Add Extra Packaging” is selected, and require a minimum quantity of 10.
Real-World Use Cases
- Bakery Store: Minimum order of 12 cupcakes per flavor
- Print Shop: Minimum 25 flyers for bulk printing
- Engraving Services: Require 10+ units to enable custom engraving
Other Apps That Offer Quantity Controls
App | Highlights | Pricing |
---|---|---|
SM Product Options | Full quantity limits, conditional logic, custom messages | Free + Pro |
MinCart - Min Max Order Limits | Cart-based quantity rules, not per option | Free + Paid |
Advanced Product Options by Mageworx | More advanced but costlier, for larger catalogs | From $19/month |
Tips for Better UX
- Always show helper text or tooltips beside numeric fields
- Use inline validation for smoother user feedback
- Pair quantity limits with dynamic price updates (if applicable)
Conclusion
Setting minimum and maximum quantity limits on product options in Shopify is essential for many customized or bulk-order businesses. While Shopify doesn’t support this natively, apps like SM Product Options make it simple, visual, and effective.
Ready to set it up? Try SM Product Options today and start controlling quantity inputs with ease.