> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://doc.common-services.com/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).

# Impossible to import an order of an inactive or unavailable product

# Importing Orders — Common Product Errors

When importing orders, you may encounter one of the following error messages:

> ❌ Unable to import inactive product "XXX-YYY" — Please activate this product before importing the order.

or  

> ❌ Unable to import product unavailable for sale.

or  

> ❌ Unable to import a product with a minimum quantity greater than 1.

---

## Cause

The module relies on **PrestaShop’s core classes** to import orders.  
This means it must follow PrestaShop’s standard logic, which can **block an order import** if the product does not meet certain conditions.

For a product to be **importable**, it must be:

1. **Activated**  
2. **Available for sale**

![PrestaShop CDiscount active product](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-cdiscount-produit-a_1j7rw15.jpg)

---

## Minimum Quantity

The **minimum order quantity** must be set to **1**, as this reflects how most marketplaces operate — selling products **individually** (except for specific cases not covered here).

You can check this value either in the **Quantities tab (1)** or in the **Combinations tab (2)** if your product has variations.

1. ![PrestaShop CDiscount quantity combinations](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-cdiscount-quantite-_aqcc71.jpg)

2. ![PrestaShop CDiscount quantity per combination](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/prestashop-cdiscount-quantite-_lktk5f.jpg)

---

✅ **Summary:**
* Make sure the product is **active**.  
* Make sure it is **available for sale**.  
* Make sure the **minimum quantity** is **1**.  

Once these conditions are met, the product will be successfully imported during order synchronization.
