From f51d434d10a8731da0bff52a2314c9d93c8a8ea8 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Fri, 26 May 2017 15:57:29 +0100 Subject: [PATCH] Added todo item in exporter --- includes/export/class-wc-product-csv-exporter.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/includes/export/class-wc-product-csv-exporter.php b/includes/export/class-wc-product-csv-exporter.php index bb151bc98ee..86daa9ca0e2 100644 --- a/includes/export/class-wc-product-csv-exporter.php +++ b/includes/export/class-wc-product-csv-exporter.php @@ -104,12 +104,13 @@ class WC_Product_CSV_Exporter extends WC_CSV_Batch_Exporter { 'category_ids' => __( 'Categories', 'woocommerce' ), 'tag_ids' => __( 'Tags', 'woocommerce' ), 'shipping_class_id' => __( 'Shipping Class', 'woocommerce' ), - 'image_id' => __( 'Images', 'woocommerce' ), + 'images' => __( 'Images', 'woocommerce' ), 'download_limit' => __( 'Download Limit', 'woocommerce' ), 'download_expiry' => __( 'Download Expiry Days', 'woocommerce' ), 'parent_id' => __( 'Parent', 'woocommerce' ), 'upsell_ids' => __( 'Upsells', 'woocommerce' ), 'cross_sell_ids' => __( 'Cross-sells', 'woocommerce' ), + // @todo product_url button_text ); } @@ -218,13 +219,13 @@ class WC_Product_CSV_Exporter extends WC_CSV_Batch_Exporter { } /** - * Get image_id value. + * Get images value. * * @since 3.1.0 * @param WC_Product $product * @return string */ - protected function get_column_value_image_id( $product ) { + protected function get_column_value_images( $product ) { $image_ids = array_merge( array( $product->get_image_id( 'edit' ) ), $product->get_gallery_image_ids( 'edit' ) ); $images = array();