This article completes: Set inventory quantity for products, preventing sold-out products, specifications, or rows in the price table from being purchased.
Inventory is an optional feature. Sites that are not enabled and products that do not have tracking enabled will behave as before, without checking quantities.
Prerequisites
- The platform has enabled e-commerce and online purchasing for this site, and the sub-feature stock inventory is checked (edit site). Default is off, and it will not automatically turn on by checking e-commerce or online purchasing; site owners cannot turn it on themselves.
- The account has e-commerce write permissions.
- The product is available for purchase and belongs to one of the types listed under 'Which products can be tracked'.
Path
Sidebar E-commerce → Product Management → Edit Product → Basic tab's Inventory section. This section will not appear when the platform has not enabled physical inventory.
Which products can be tracked
| Product Type | How Inventory is Calculated |
|---|---|
| Fixed Price (no specification combinations) | One row for the entire product |
| With size, color, etc. options (dropdown or radio buttons in specification fields) | Each option combination counts as one row, for example, "Red/M" and "Blue/M" are counted separately |
| Price Check via Data Table | Only tracks the rows you select; unselected rows have no quantity limit |
The following cannot be tracked; the screen will explain the reasons: inquiry, digital, custom products; including custom sizes, upload or designer fields; pricing using calculation components or formulas; purchase quantities not being 1 item each time; pricing by continuous units; option combinations exceeding 200 combinations.
Fixed Price Products
| Field | Description |
|---|---|
| Track Inventory | When off, quantity is not checked, behaving the same as when inventory is not enabled. Products are not tracked by default |
| In Stock Quantity | Number of items in the warehouse, a positive integer of 0 or more |
| Sell When Out of Stock | When off, insufficient inventory cannot proceed to checkout or cash register. When on, orders can still be accepted when out of stock; this version does not set a pre-order limit |
| Adjustment Reason | Must be filled when there is a change in stock quantity, will leave an adjustment record |
The section will display "Unfinished Orders Occupy N Items." The occupied quantity is counted separately and will not be deducted from the in-stock quantity; the sellable quantity is "In Stock Quantity − Occupied."
Products with options such as size and color (specification inventory)
- First, add the dropdown or single-choice options in the Specification field (see How to set specifications and pricing) and save.
- Return to Basic → Inventory, and enable Track Inventory. The switch applies to all combinations of the entire product simultaneously.
- Each row in the table represents a combination of options, where you can fill in Stock Quantity, SKU, and Barcode separately. SKUs must be unique within the same platform.
- Out of stock but still sellable applies to all combinations of the entire product.
- Press save at the bottom.
Each combination deducts separately: for example, if there is 1 piece each of red and blue, once the red one is sold, you can no longer buy red, but blue can still be purchased.
Note: These two situations cannot be purchased.
This section applies only to products with options such as size and color. When tracking inventory:
- The customer has not selected a certain optional specification field.
- You have added a new option but have not set inventory for its combinations yet.
After adding options, please return to the inventory table to fill in the quantity for the new combinations and save. If optional fields affect inventory, it is recommended to change them to required.
Products listed in the data table for price checking (data table shows inventory)
- First, create and save the row in Data Table Price Check (see How to Set Specifications and Pricing).
- Return to Basic → Inventory, check Track this row for the row you want to limit, then fill in Stock Quantity, and if necessary, fill in SKU and Barcode.
- Press save at the bottom.
- Only the checked rows will be limited; by default, none are checked. Unchecked rows are unlimited and can be purchased as usual; newly added rows are also not tracked by default.
- Checked rows will only show as sold out when they are sold out (except when Out of stock can still sell is enabled). If customers do not select optional specifications or if newly added rows have not set inventory, they will not block purchases.
- The entire data table will not automatically become inventory; different quantity ranges of the same specifications share one row of inventory.
- When there are no rows in the data table, the screen will prompt to add rows first.
When exporting/importing the data table using CSV
- The first column of Export CSV and Template is id, representing the inventory of this row. When re-importing, please keep the id column; the system will update the same row instead of adding a new one; rows with exactly the same specification values will also be considered the same row.
- Leave the id of newly added rows blank, and it will be automatically generated after import.
- If this import will remove tracked inventory rows, the screen will first pop up a confirmation: "This import will remove N rows of tracked inventory specifications. Are you sure you want to replace them?" Canceling will not apply the changes.
How to occupy and release orders
| Timing | Inventory Change |
|---|---|
| Customer places an order (online checkout, group purchase) or POS order creation | Occupies the quantity of that product, combination, or data table. If the quantity is insufficient, the order will not be established |
| Payment successful | Only changes the occupied status to sold, will not deduct again |
| POS cash or external card swipe | Considered sold immediately after order creation |
| Order overdue unpaid or canceled | Releases the occupation, quantity returns to available for sale |
| Canceled or refunded after payment | This version will not automatically replenish, please manually adjust the inventory quantity and fill in the reason |
| Payment received after order overdue or canceled | Will not automatically re-occupy. The order record will show "Overdue payment, inventory not automatically reclaimed", please confirm inventory yourself |
What is seen on the front end and POS
- Sold out products, specification combinations, or data table rows display Sold Out, cannot be added to the shopping cart. The product list only marks as sold out when every purchasable combination is sold out.
- The front end does not display remaining quantities.
- When the quantity is insufficient, customers will see "Insufficient inventory, unable to add to cart" or "Insufficient inventory, order not established"; POS will display "Insufficient inventory, unable to check out."
- When asked about inventory, the smart customer service will only reply with the inventory response you set, without disclosing the quantity (see How to set up smart customer service).
Product editing guide
The navigation tutorial in the upper right corner of the product editing page will sequentially introduce each section. When the platform opens the inventory for immediate sale, there are three steps related to inventory:
| Step | When it appears |
|---|---|
| Inventory | When there is an inventory section |
| Specification Inventory | When the product has options like size and color |
| Data Table Inventory | When the product uses a data table for price checking |
Sections that are not present on the screen will be automatically skipped by the tutorial.
How to verify
- Find a test product with two colors, set 1 piece for each and save.
- Purchase one red item on the front end and submit the order (payment can be skipped for now). Then go back to the product page; red should show as sold out, while blue can still be added to the cart.
- In the backend, go to Order Management and cancel that order; the red item should become available for purchase again.
- For data table price checking products: only check one row and set 1 piece. After purchasing one from that row, it cannot be bought again; unchecked rows can be purchased in bulk.
- Export the data table as CSV, change a price, and then import it back. The number of rows should not increase, and the checked inventory remains.
Common issues
| Situation | What to do |
|---|---|
| Cannot see the inventory section | The platform has not enabled current inventory. Please contact the platform. |
| "This product cannot track inventory" | The product type is not supported; see the reason on the screen; refer to the above "Which products can track inventory". |
| An option is clearly in stock but cannot be purchased | Did the customer miss selecting a required field? Has the newly added option been filled with quantity in the inventory table and saved? |
| A row in the data table has no limit | That row has not checked track this row. Unchecked rows have no quantity limit. |
| Duplicate rows appear after importing CSV | Did the import file delete the id column? Re-export a copy, keep the id column, and then edit. |
| "SKU duplicates with other products or specifications on this site" | Change to a different SKU; duplicates are not allowed on the same platform. |
| Cannot save when changing quantity | When the quantity changes, you must fill in the adjustment reason; the quantity must be a positive integer. |
