Import Cross Selling
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:
- Created the products you want to link.
- Created any required dynamic product groups for the
productStreamtype. - Prepared your import file with all required fields.
Import Process
Section titled “Import Process”- Go to Extensions > Improved Import, Export > Import.
- Create a new import profile.
- Select Cross Selling as the entity.
- Choose your import source, such as CSV, XML, XLSX, Google Drive, or Google Sheets.
- Map the fields from your source file to Shopware fields.
- Preview the import.
- Run the import.
Field Reference
Section titled “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 |
Import Logic
Section titled “Import Logic”You can update an existing Cross Selling record by providing:
- The
idfield, or - The product identifier and
nametogether.
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.
Example CSV
Section titled “Example CSV”name,productNumber,type,active,position,assignedProductsRecommended Products,SW10001,productList,1,1,SW10002|SW10003|SW10004