Shop Front Inventory Control: Out of Stock Products, Low Stock Threshold, and Default Warehouse
The Inventory Control card in Shop Front Settings controls how out of stock products behave in your Shop Front, when the low quantity warning appears, and which warehouse the displayed stock is calculated from. Changes apply to the shop immediately.
Required permissionsEdit General Settings and Manage Shop Front Content.
How to accessShop Front Settings > Inventory Control
Table of Contents
Fields
| Field | Mandatory? | Default | Values | What it does |
|---|---|---|---|---|
| Low Stock Threshold | Yes | 10 | A number ≥ 1 | The available quantity at which the low stock indicator appears. |
| Show Out of Stock Products | — | Suspend | Enabled / Suspend | Shows or hides products that have run out |
| Sell Out of Stock Products | — | Disallowed | Allowed / Disallowed | Appears only when the display option is enabled |
| Default Warehouse for Shopfront | Yes | The primary warehouse | Active warehouses | The product stock displayed in the Shop Front is calculated based on this warehouse. |
The Three Behaviors
| Offer | Sale | Result in the shop |
|---|---|---|
| Enabled | Allowed | Selling continues at zero, and no stock label appears |
| Enabled | Disallowed | The product appears with an Out Of Stock label and the Add to Cart button is disabled |
| Suspend | — | The product disappears automatically when it runs out |
Stock Labels
- In Stock: The quantity is greater than the threshold.
- Only %s Unit(s) left: The quantity is greater than zero and less than or equal to the threshold.
- Out Of Stock: The quantity is zero or less.
- Products that are not tracked in Inventory, and Services, are not affected.
- Available quantity = the Default Warehouse balance plus the pending transactions.
Default Warehouse
- You can’t suspend, deactivate, or delete the selected warehouse while it is selected.
- If it becomes inactive, the primary warehouse is used.
- The Manage Warehouses button opens Warehouses.
Record
- Any change is recorded in the Activity Log, and Settings Updated Successfully appears.
How Is the Available Quantity Calculated?
- The product balance in the Default Warehouse for Shopfront.
- Plus the pending transactions for that warehouse that are not ignored (such as quantities reserved by incomplete orders).
- A product is considered out of stock if the result is zero or less.
- Untracked products (without stock tracking) are always available, and no label appears for them.
Save Rules
| Field | Rule |
|---|---|
| Low Stock Threshold | Mandatory, a number, 1 or more |
| Default Warehouse for Shopfront | Mandatory, chosen from the active warehouses |
| Sell Out of Stock Products | Ignored and saved as Disallowed if the offer is Suspend |
🛈
Note: The Discard button cancels unsaved changes.
Why does the store behave unexpectedly?
| Problem | Reason |
|---|---|
| A product that is out of stock is still sold | Selling is Allowed, or the product is not tracked |
| An available product shows as Out Of Stock | Its balance is in a warehouse other than the Default Warehouse |
| The Only %s Unit(s) left message does not appear | The quantity is above the threshold, or selling is Allowed |
| The selected warehouse changed | It became Inactive, so the Primary warehouse was used |
Before you start
- The Shop Front app is Enabled.
- The products you want to control are tracked in Inventory.
- At least one active warehouse exists.
Access
- The page requires Edit General Settings, and the whole section requires Manage Shop Front Content. Without them, a message appears saying you are not allowed to access it.
- On the same page, there is a Website Template card for managing Templates.
Error messages and their solutions
| Message | Reason | Solution |
|---|---|---|
| The Requested QTY for %s is not currently available. Available: only %s Unit(s). | The Client requested more than the available quantity (selling is Disallowed). | The Client reduces the quantity. |
| %s is not currently available. | The product ran out of stock while it was in the cart. | The Client removes it from the cart. |
| You cannot suspend or deactivate this warehouse because it is already selected as the default warehouse for the Shop Front | You tried to suspend the selected warehouse. | First, select a different warehouse in Settings. |
| You cannot delete the warehouse because it is already selected as the default warehouse for the Shop Front | You tried to delete it. | Change the Default Warehouse first. |
🛈
Note: If you select Don’t Save, the default behavior value in the code is to hide out-of-stock products.
Frequently asked questions
What is the minimum threshold value?
1.
Why did products disappear from the store?
Show Out of Stock Products is set to Suspend and the products are out of stock.
Does it affect Point of Sales?
No, it affects the Shop Front only.
When are the changes applied?
Immediately.
Can you select an Inactive warehouse?
No.