Merge pull request #26517 from woocommerce/revert-25517-duplicated-custom-fields-after-import
Revert "Fix duplicated custom fields after import products from .csv file"
This commit is contained in:
commit
aa6a025526
|
@ -577,6 +577,7 @@ 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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue