From c2f857a4d83c1c9cb248294feedb144e7040d83b Mon Sep 17 00:00:00 2001 From: Sergey Ratushnuy Date: Wed, 29 Jan 2020 13:09:27 +0200 Subject: [PATCH] Fix duplicated custom fields after import products from .csv file --- .../admin/importers/class-wc-product-csv-importer-controller.php | 1 - 1 file changed, 1 deletion(-) diff --git a/includes/admin/importers/class-wc-product-csv-importer-controller.php b/includes/admin/importers/class-wc-product-csv-importer-controller.php index 22b70555917..2e1a6d4143d 100644 --- a/includes/admin/importers/class-wc-product-csv-importer-controller.php +++ b/includes/admin/importers/class-wc-product-csv-importer-controller.php @@ -577,7 +577,6 @@ class WC_Product_CSV_Importer_Controller { $headers = array(); foreach ( $raw_headers as $key => $field ) { - $field = strtolower( $field ); $index = $num_indexes ? $key : $field; $headers[ $index ] = $field;