> ## 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).

# Configure a model (Cdiscount)

Models allow you to complete the data required by Cdiscount for a group of items.
This is also where you choose the **Cdiscount category** (levels 1, 2, and 3) — not on the profile.

> ⚠️ **Tip for your first export:**
> * Mandatory fields are marked with a red asterisk (`*`). Others are optional.
> * To start, fill out **only the mandatory minimum**. You can enrich your feed with optional fields later.

Once your model is configured, simply assign it to your [Profile](https://doc.common-services.com/en/article/configure-a-profile-cdiscount-7a8okp/).

---

### Step 1: Add a Model

Click the button to create a new model:

![PrestaShop Cdiscount add a model](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/screenshot4962_z95mky.jpg)

* **Model Name:** Choose a clear and memorable name. *Don't forget to click the save button at the bottom right of the page!*
* **Category Levels (1, 2, and 3):** Select the Cdiscount category that matches your products.

💡 **Managing Combinations:** If the level 3 category contains the mention **"(is variant)"**, it means it accepts combinations. If you want to sell products with variations, please consult our guide: [Exporting Combinations](https://doc.common-services.com/en/article/combinations-export-15vrtzg/).

---

### Step 2: Configure Specific Cdiscount Data

After choosing the category, a new section will appear:

![PrestaShop Cdiscount Specific data](https://storage.crisp.chat/users/helpdesk/website/-/3/f/a/8/3fa8ee645cd13200/screenshot4961_1i4xdgs.jpg)

These fields are optional, except for those marked with a red asterisk.

---

### Step 3: Understanding How Fields Work (Default Value, Features, and Attributes)

* **PrestaShop Feature or Attribute:** Select the corresponding field from your PrestaShop store here (from *Catalog > Features* or *Attributes*). The module will automatically retrieve this value from each product sheet.
* **Default Value:** This value is applied if the product sheet contains no information in PrestaShop (the field is empty or non-existent).
* *Example:* If you select the "Color" feature on the right and type "White" on the left, all products without a defined color in PrestaShop will be sent as "White" to Cdiscount.

---

### Step 4: Using Mappings

If you have configured the [mapping](https://doc.common-services.com/en/article/mapping-1xw5eq6/) tab, the module will automatically apply your rules.

* **Concrete Example:**
* Your PrestaShop product sheet contains the color **Bleu Nuit**.
* In the Mappings tab, you have linked **Bleu Nuit** to **Bleu Roi** (the official color value accepted by Cdiscount).
* The module will automatically send the value **Bleu Roi** in your Cdiscount feed.