@haus-tech/product-import-export-plugin 2.2.4 → 2.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -92,6 +92,10 @@ let ProductExportService = class ProductExportService {
|
|
|
92
92
|
const selectedExportFieldsArray = selectedExportFields.split(',');
|
|
93
93
|
const selectedExportFieldsSet = new Set(selectedExportFieldsArray);
|
|
94
94
|
const filteredHeaders = headers.filter((header) => {
|
|
95
|
+
// Ensure custom fields are not filtered out
|
|
96
|
+
if (filteredCustomFieldNames.includes(header.id)) {
|
|
97
|
+
return true;
|
|
98
|
+
}
|
|
95
99
|
if (header.id.includes(':')) {
|
|
96
100
|
const field = header.id.split(':')[0];
|
|
97
101
|
return selectedExportFieldsSet.has(field);
|