From 953388ef4c358fa300c88549a263a77a57e80bbf Mon Sep 17 00:00:00 2001 From: Ally Date: Mon, 28 Oct 2024 09:54:10 +0000 Subject: [PATCH] Include global_unique_id in product import mapper (#52240) * Add global_unique_id to importer controller * Add changelog for gtin import mapper * Add changefile(s) from automation for the following project(s): woocommerce --------- Co-authored-by: github-actions --- .../woocommerce/changelog/52240-fix-52175-gtin-import-mapper | 4 ++++ .../changelog/52240-fix-52175-gtin-not-included-in-importer | 4 ++++ .../importers/class-wc-product-csv-importer-controller.php | 1 + 3 files changed, 9 insertions(+) create mode 100644 plugins/woocommerce/changelog/52240-fix-52175-gtin-import-mapper create mode 100644 plugins/woocommerce/changelog/52240-fix-52175-gtin-not-included-in-importer diff --git a/plugins/woocommerce/changelog/52240-fix-52175-gtin-import-mapper b/plugins/woocommerce/changelog/52240-fix-52175-gtin-import-mapper new file mode 100644 index 00000000000..19ac2cd874d --- /dev/null +++ b/plugins/woocommerce/changelog/52240-fix-52175-gtin-import-mapper @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Adds the missing global_unique_id field to the product import mapper \ No newline at end of file diff --git a/plugins/woocommerce/changelog/52240-fix-52175-gtin-not-included-in-importer b/plugins/woocommerce/changelog/52240-fix-52175-gtin-not-included-in-importer new file mode 100644 index 00000000000..a58e26f7653 --- /dev/null +++ b/plugins/woocommerce/changelog/52240-fix-52175-gtin-not-included-in-importer @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Adds the missing global_unique_id field to the product import mapper \ No newline at end of file diff --git a/plugins/woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php b/plugins/woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php index b61a5da4e02..26b7b204ac8 100644 --- a/plugins/woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php +++ b/plugins/woocommerce/includes/admin/importers/class-wc-product-csv-importer-controller.php @@ -808,6 +808,7 @@ class WC_Product_CSV_Importer_Controller { 'id' => __( 'ID', 'woocommerce' ), 'type' => __( 'Type', 'woocommerce' ), 'sku' => __( 'SKU', 'woocommerce' ), + 'global_unique_id' => __( 'GTIN, UPC, EAN, or ISBN', 'woocommerce' ), 'name' => __( 'Name', 'woocommerce' ), 'published' => __( 'Published', 'woocommerce' ), 'featured' => __( 'Is featured?', 'woocommerce' ),