> ## Documentation Index
> Fetch the complete documentation index at: https://docs.vortexiq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# OOS Bestseller Alert, PrestaShop

> OOS Bestseller Alert for PrestaShop stores, tracked live in Vortex IQ Nerve Centre. What it counts, why it matters, and how to act on it.

**Card class:** 🦸 Hero  \*  **Category:** Nerve Centre  \*  **Chart:** `alert_list`

## At a glance

> stock\_availables.quantity \<= 0 for products in the top-20 by order\_details.product\_quantity over 30D - a direct revenue blocker.

|                      |                                                                                                                                      |
| -------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
| **What it measures** | stock\_availables.quantity \<= 0 for products in the top-20 by order\_details.product\_quantity over 30D - a direct revenue blocker. |
| **Format**           | `number`                                                                                                                             |
| **Time window**      | `RT`                                                                                                                                 |
| **Alert trigger**    | `any top-20 (by 30D units) SKU at quantity <= 0`, driven by `sentiment_key: out_of_stock_count`                                      |
| **Sensitivity band** | lower is better - good at/below 0, bad at/above 5                                                                                    |
| **Roles**            | owner, operations, marketing                                                                                                         |
| **Data type**        | Real-time                                                                                                                            |

## Calculation

```
stock_availables.quantity <= 0 for products in the top-20 by order_details.product_quantity over 30D - a direct revenue blocker.
```

PrestaShop order classification uses the order-state machine: paid = `current_state` in (2 Payment accepted, 3 Processing, 4 Shipped, 5 Delivered, 9 Backorder paid, 11 Remote payment accepted); shipped/fulfilled = (4, 5); refunded = (7, 15); cancelled = (6); payment error = (8). Read live from the PrestaShop Webservice API and snapshotted nightly into the Nerve Centre KPI store.

## Why it matters

OOS Bestseller Alert is part of the PrestaShop executive pulse in Vortex IQ Nerve Centre. Vortex Mind investigates automatically when this card breaches its sensitivity band, and Ask Viq can explain the movement in plain English with a citation back to this card.
