A product is buyable only when two things are true: it’s set to visible, and it has available stock. They’re controlled separately — knowing which is which saves a lot of confusion.
The two controls
| Visible? | Available stock? | Buyer can purchase? |
|---|---|---|
| On | > 0 | Yes |
| On | 0 | No (shows as out of stock) |
| Off | Any | No (hidden) |
Visibility lives in the inventory Details panel, not in a separate menu. The old standalone visibility page now just sends you back to the inventory list.
Editing the declared quantity — the rules
For MARKET and FBS, open Details and edit the declared quantity. Two hard rules apply:
- It must be a whole number, zero or more — otherwise the app rejects it with «الكمية المعلنة يجب أن تكون عدداً صحيحاً غير سالب.» (
invalid_quantity). - It can’t go below what’s currently reserved for in-progress orders — the app refuses with a message explaining how many units are reserved (
DECLARED_BELOW_RESERVED).
For FBF, availability is driven by warehouse stock and can’t be edited directly — send more stock with an inbound shipment, or wait for returned units to be restocked.
Pausing a product
To pause a product temporarily, switch visibility off rather than zeroing its stock — it’s cleaner, and you won’t forget the real quantity or collide with the reserved-quantity rule.