Inventory Management
Sokobuni tracks inventory per variant. When a customer checks out, stock is reserved and decremented automatically when the order is fulfilled.
Enabling inventory tracking
On each variant, there's a toggle: Manage inventory.
- On — the variant has a stock quantity. When it hits 0, the storefront shows "Out of stock" and blocks purchase.
- Off — the variant always appears available, regardless of quantity. Use this for made-to-order or digital/service products.
For digital products, turn off inventory tracking — they can be sold unlimited times.
Setting stock quantities
SKUs
SKU (Stock Keeping Unit) is your internal identifier for each variant. It's optional but strongly recommended for stores with many products:
- Enter it on each variant (e.g.
MUG-CER-RED-MED) - SKUs appear on orders and packing slips
- They're required for integrating with external warehouse or inventory systems
Low stock behavior
When a variant's stock hits 0:
- The storefront shows it as out of stock
- Customers can't add it to cart
- You receive an order notification (if notifications are configured)
There's no automatic low-stock alert threshold. Monitor your inventory on the Inventory page in the sidebar, which shows all variants with their current stock levels.
Restocking
To restock a variant:
- Open the product → click the variant
- Update the quantity field to the new total
- Save
Stock adjustments don't create audit log entries in the current version.
Viewing all inventory
Go to Inventory in the sidebar to see every variant across all products in a single table. You can filter by "Out of stock" to find what needs restocking.