---
title: Import Cross Selling
description: How to import Cross Selling product relationships in Shopware 6, including fields and import behavior.
---

Use Cross Selling import when you want to create or update related product blocks in Shopware 6.

Before importing Cross Selling data, make sure you have:

1. Created the products you want to link.
2. Created any required dynamic product groups for the `productStream` type.
3. Prepared your import file with all required fields.

## Import Process

1. Go to **Extensions > Improved Import, Export > Import**.
2. Create a new import profile.
3. Select **Cross Selling** as the entity.
4. Choose your import source, such as CSV, XML, XLSX, Google Drive, or Google Sheets.
5. Map the fields from your source file to Shopware fields.
6. Preview the import.
7. Run the import.

## Field Reference

| Field Name | System Field Name | Description | Value Example |
| --- | --- | --- | --- |
| ID | `id` | Unique identifier for the Cross Selling record. Optional for new records. | `11a12b13c14d15e16f17g18h19i20j` |
| Name | `name` | Name of the Cross Selling section. Required for new records. | `Recommended Products` |
| Product ID | `productId` | ID of the product where the Cross Selling block appears. | `22a23b24c25d26e27f28g29h30i31j` |
| Product Number | `productNumber` | Product number of the product where the Cross Selling block appears. Can be used instead of `productId`. | `SW10001` |
| Position | `position` | Display order of the Cross Selling section. Lower numbers appear first. | `1` |
| Sort By | `sortBy` | How to sort displayed products. | `name` |
| Sort Direction | `sortDirection` | Sort direction. | `ASC` |
| Type | `type` | Cross Selling type. | `productList` or `productStream` |
| Active | `active` | Whether the Cross Selling section is active. | `true` or `1` |
| Limit | `limit` | Maximum number of products to display. | `4` |
| Product Stream ID | `productStreamId` | Dynamic product group ID. Required for `productStream` unless you use `productStreamName`. | `33a34b35c36d37e38f39g40h41i42j` |
| Product Stream Name | `productStreamName` | Dynamic product group name. Can be used instead of `productStreamId`. | `New Products` |
| Assigned Products | `assignedProducts` | Product numbers for manually assigned products. Required for `productList`. | `SW10002|SW10003|SW10004` |

## Import Logic

You can update an existing Cross Selling record by providing:

1. The `id` field, or
2. The product identifier and `name` together.

For `productList`, the `assignedProducts` field is required. Products must already exist in Shopware.

For `productStream`, provide either `productStreamId` or `productStreamName`. The dynamic product group must already exist.

:::note
When you update an existing Cross Selling record, assigned products are replaced with the values from the import file.
:::

## Example CSV

```csv
name,productNumber,type,active,position,assignedProducts
Recommended Products,SW10001,productList,1,1,SW10002|SW10003|SW10004
```

## Related Guides

- [Import Overview](/import/overview/)
- [Configure Mapping](/import/mapping/)
- [Preview & Run Import](/import/preview-and-run/)
- [Export Cross Selling](/entities/cross-selling/export/overview/)
