markAsTopseller Field
A new optional field — markAsTopseller — has been introduced to the product import process. This field allows you to control whether a product should be marked as a “Topseller” in your Shopware 6 storefront.
How to Use
Section titled “How to Use”In your import file, use the markAsTopseller column and set the value as follows:
- 1 — marks the product as a Topseller
- 0 — does not mark the product as a Topseller
The field is optional. If left empty, no changes are applied to the Topseller status.
Technical Implementation
Section titled “Technical Implementation”- Field mapping:
markAsTopseller→markAsTopseller - Not a required field; supports empty values
- Included in export (not filterable)
- Integrated into:
- Product.php (
app/Models/DTO/Shopware/Product.php) - ExportMapping.php (
app/Models/Export/Mapping/Shopware/ExportMapping.php)
- Product.php (
This addition streamlines the way you manage product highlights during import and export operations, enabling better automation and storefront visibility control.