> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://socialhead.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 to Exclude Variants Based on Inventory Quantity

Ensuring that your advertising campaigns only promote in-stock products is crucial for optimal performance. Displaying out-of-stock variants can lead to wasted ad spend and a poor customer experience. By excluding these variants based on inventory quantity or availability, you can improve your campaign efficiency and maximize your return on investment (ROI). This guide will show you how to exclude out-of-stock variants effectively.

### Table of Contents

1. [Excluding Variants Based on Inventory Quantity](#1-excluding-variants-based-on-inventory-quantity)
2. [Excluding Variants That Are Out of Stock](#1-excluding-variants-that-are-out-of-stock)
---

# Excluding Variants Based on Inventory Quantity

If you want to exclude products that have an inventory quantity of zero, follow these steps:

1. Navigate to **Source Management** in your settings.
2. Enable the **Exclude products by rules** feature.
3. Click the **+Condition** button to add a new condition.
4. Set up the condition as follows:
 
* **If Quantity Less than 1**

By applying this condition, any product variant with an inventory count of zero will be automatically excluded from your campaigns.

![Exclude by inventory quantity](https://storage.crisp.chat/users/helpdesk/website/-/c/b/9/2/cb92164b6e8ef000/1_8f7hr8.png)

# Excluding Variants That Are Out of Stock

You can also exclude variants based on their availability status. Follow these steps:

1. Go to **Source Management** in your settings.
2. Enable the **Exclude products by rules** feature.
3. Click the **+Condition** button to add a new condition.
4. Set up the condition as follows:
 
* **If Availability Contains out of stock**

By using this condition, all out-of-stock variants will be removed from your campaigns automatically.

![Exclude by availability](https://storage.crisp.chat/users/helpdesk/website/-/c/b/9/2/cb92164b6e8ef000/2_1uc6xma.png)
---

Excluding out-of-stock variants from your campaigns is essential for maintaining ad efficiency and improving customer experience. By setting up exclusion rules based on inventory quantity and availability, you can ensure that only in-stock products are promoted. Follow the steps outlined in this guide to optimize your campaign performance and reduce wasted ad spend.

If you have any further assistance, don't hesitate to contact us via in-app live chat or email at [support@socialhead.io](mailto:support@socialhead.io)