> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://setubridge.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How can I set an ETA message according to product availability?

Our app determines the inventory status based on product quantity to calculate the estimated delivery date accurately:

1.  **When product quantity is zero** :The app considers the inventory as out-of-stock.
->> Example: If the product quantity/inventory is zero, the inventory status will be set to out-of-stock.

2. **when product quantity is 1 or more: ** The app considers the inventory as in-stock.
->>Example: If the product quantity/inventory is 1 or more, the inventory status will be set to in-stock.

3. **When product quantity is zero and "continue selling" is on**: The app still considers the inventory as out-of-stock.
->>Example: Even if the "continue selling" option is on and the product quantity is zero, the inventory will be set to out-of-stock.

||  Note: App checks the in stock & out of stock ETA messages based on product Quantity
||  But we customized our code to check the in stock & out of stock based on product availability.

[How to setup the product specific message inventory wise

](https://setubridge.crisp.help/en-in/article/how-to-setup-the-product-specific-message-inventory-wise-b27v3j/)

If you have any other questions or need assistance, feel free to reach out to us.
