# How to show only pre-order products, Not back in stock and reverse?

### 1. To show **ONLY Pre-order products** (not Back in stock)

**Conditions for Pre-order profile:**

* Inventory > 0 **OR**
* Inventory = 0 **AND** “Continue selling when out of stock” = **Enabled**

This way, products that are set to “continue selling” will always show **Pre-order** instead of triggering Back in Stock.

### 2. To show **ONLY Back-in-stock products** (not Pre-order)

**Conditions for Back-in-stock profile:**

* Inventory = 0 **AND**
* “Continue selling when out of stock” = **Disabled**

This ensures only true out-of-stock items (not allowed for sale) will show the Back in Stock button.

✅ With these rules, the two features won’t overlap:

* **Pre-order** is tied to items that can still be purchased (even if stock = 0).
* **Back in Stock** is tied to items that cannot be purchased until restocked.

***

📩 Need Help? \
\
If you encounter any difficulties during setup, please don’t hesitate to reach out via **chat** or email us at **<hi@globosoftware.net>**. We're always here to help!<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.globo.io/pre-order/faqs/how-to-show-only-pre-order-products-not-back-in-stock-and-reverse.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
