Skip to content
×

Inventory-Aware Limits

Automatically cap quantities based on available stock

Order Limits
Use with AI

Use with AI

Ready-made prompts Connect your AI to Pasilobus Install the CLI

This page

View as MarkdownPlain text of this page Open in ClaudeAsk about this page Open in ChatGPTAsk about this page

Ready-made prompts

Fill in the parts in angle brackets, then paste into any assistant.

Step by step on your store

Read https://help.pasilobus.com/order-limits/inventory-aware-limits.md. Walk me through Inventory-Aware limits in Order Limits for my store, step by step. My theme is <theme name> and I want <what you want to happen>.

Ask your own question

Read https://help.pasilobus.com/order-limits/inventory-aware-limits.md. Answer this about Order Limits on my store: <your question>.

Connect your AI to Pasilobus Early access

Our MCP server lets Claude, ChatGPT and other MCP clients use your Pasilobus apps. Any Pasilobus account can connect now: you sign in with it. Tools that change your store are marked as changes, so your assistant can ask you first.

https://cloud.pasilobus.com/mcp

In Claude Code, add it, then run /mcp to sign in:

claude mcp add --transport http pasilobus https://cloud.pasilobus.com/mcp

Install the CLI

npm install -g pasilobus

Run your apps from the terminal or a coding agent. These only read, so they are safe to try:

pasilobus order-limits limits

Find order limit rules and what they enforce

pasilobus apps lists your apps on the store; pasilobus <app> help lists what each app can do. How it works

On this page
  1. How It Works
  2. Enabling Inventory-Aware Limits
  3. Variant-Specific Tracking
  4. What the Customer Sees
  5. Examples
  6. Plan

Inventory-aware limits automatically adjust your maximum quantity based on available stock. This prevents customers from ordering more than you can fulfill, even when you have step increments that do not divide evenly into your inventory.

How It Works

  • You set a rule with a step of 5 (customers buy in multiples of 5)
  • A product has 12 units in stock
  • Without inventory awareness, the customer could select 15 – exceeding stock
  • With inventory awareness, the maximum is automatically capped at 10 (the highest valid multiple of 5 that does not exceed 12)

The app recalculates the limit in real time based on current inventory levels. As stock changes, the enforced maximum updates automatically.

Enabling Inventory-Aware Limits

  • Go to Settings and find Rule Settings
  • Tick Inventory-aware limits
  • Click Save

The setting applies to every rule. Your storefront picks it up within a minute of saving; you don't need to edit or save a rule.

Variant-Specific Tracking

Inventory is tracked per variant. If a product has sizes S, M, L with different stock levels, each variant gets its own calculated maximum.

What the Customer Sees

  • The quantity selector stops at the inventory-adjusted maximum
  • If stock is lower than the rule's minimum, the product shows as unavailable for the quantity required
  • Works across all themes – no theme customization needed

Examples

  • Step of 6, stock of 25 – max becomes 24
  • Step of 10, stock of 8 – product cannot meet the minimum step, shown as limited availability
  • Min 3, max 50, stock of 40 – max becomes 40

Plan

Requires the Pro plan. On Starter or Free the setting is locked and the storefront ignores it.

Support

Talk to a person.

The people who build our apps answer support themselves. Email us, or send a request from your Pasilobus account, and a person replies, usually within one business day. There's no chat.