WooCommerce – Store Exporter - Version 2.0.3

Version Description

  • Changed: Compatibility with WooCommerce 3.7 and WordPress 5.2.2
Download this release

Release Info

Developer visser
Plugin Icon 128x128 WooCommerce – Store Exporter
Version 2.0.3
Comparing to
See all releases

Code changes from version 2.0.2 to 2.0.3

exporter.php CHANGED
@@ -3,7 +3,7 @@
3
Plugin Name: WooCommerce - Store Exporter
4
Plugin URI: http://www.visser.com.au/woocommerce/plugins/exporter/
5
Description: Export store details out of WooCommerce into simple formatted files (e.g. CSV, TSV, Excel formats including XLS and XLSX, XML, etc.)
6
- Version: 2.0.2
7
Author: Visser Labs
8
Author URI: http://www.visser.com.au/about/
9
License: GPL2
@@ -12,7 +12,7 @@ Text Domain: woocommerce-exporter
12
Domain Path: /languages/
13
14
WC requires at least: 2.3
15
- WC tested up to: 3.4
16
*/
17
18
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
3
Plugin Name: WooCommerce - Store Exporter
4
Plugin URI: http://www.visser.com.au/woocommerce/plugins/exporter/
5
Description: Export store details out of WooCommerce into simple formatted files (e.g. CSV, TSV, Excel formats including XLS and XLSX, XML, etc.)
6
+ Version: 2.0.3
7
Author: Visser Labs
8
Author URI: http://www.visser.com.au/about/
9
License: GPL2
12
Domain Path: /languages/
13
14
WC requires at least: 2.3
15
+ WC tested up to: 3.7
16
*/
17
18
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
includes/admin/product.php CHANGED
@@ -19,7 +19,7 @@ function woo_ce_products_filter_by_product_category() {
19
<?php } ?>
20
</select>
21
<?php } else { ?>
22
- <?php _e( 'No Product Categories were found.', 'woocommerce-exporter' ); ?></li>
23
<?php } ?>
24
</li>
25
</ul>
19
<?php } ?>
20
</select>
21
<?php } else { ?>
22
+ <?php _e( 'No Product Categories were found.', 'woocommerce-exporter' ); ?>
23
<?php } ?>
24
</li>
25
</ul>
includes/functions.php CHANGED
@@ -1208,7 +1208,7 @@ function woo_ce_modules_list( $module_status = false ) {
1208
$modules[] = array(
1209
'name' => 'wpseo',
1210
'title' => __( 'Yoast SEO', 'woocommerce-exporter' ),
1211
- 'description' => __( 'The first true all-in-one SEO solution for WordPress. Formally WordPress SEO.', 'woocommerce-exporter' ),
1212
'url' => 'http://yoast.com/wordpress/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin',
1213
'slug' => 'wordpress-seo',
1214
'function' => 'wpseo_admin_init'
@@ -1262,6 +1262,13 @@ function woo_ce_modules_list( $module_status = false ) {
1262
'url' => 'http://wcvendors.com',
1263
'class' => 'WC_Vendors'
1264
);
1265
$modules[] = array(
1266
'name' => 'acf',
1267
'title' => __( 'Advanced Custom Fields', 'woocommerce-exporter' ),
@@ -1274,7 +1281,7 @@ function woo_ce_modules_list( $module_status = false ) {
1274
'title' => __( 'Product Add-ons', 'woocommerce-exporter' ),
1275
'description' => __( 'Allow your customers to customise your products by adding input boxes, dropdowns or a field set of checkboxes.', 'woocommerce-exporter' ),
1276
'url' => 'http://www.woothemes.com/products/product-add-ons/',
1277
- 'class' => array( 'Product_Addon_Admin', 'Product_Addon_Display' )
1278
);
1279
$modules[] = array(
1280
'name' => 'seq',
@@ -1398,7 +1405,7 @@ function woo_ce_modules_list( $module_status = false ) {
1398
'title' => __( 'WooCommerce Extra Product Options', 'woocommerce-exporter' ),
1399
'description' => __( 'Create extra price fields globally or per-Product', 'woocommerce-exporter' ),
1400
'url' => 'http://codecanyon.net/item/woocommerce-extra-product-options/7908619',
1401
- 'class' => 'TM_Extra_Product_Options'
1402
);
1403
$modules[] = array(
1404
'name' => 'woocommerce_jetpack',
@@ -1434,7 +1441,8 @@ function woo_ce_modules_list( $module_status = false ) {
1434
'title' => __( 'WooCommerce EU VAT Number', 'woocommerce-exporter' ),
1435
'description' => __( 'The EU VAT Number extension lets you collect and validate EU VAT numbers during checkout to identify B2B transactions verses B2C.', 'woocommerce-exporter' ),
1436
'url' => 'https://www.woothemes.com/products/eu-vat-number/',
1437
- 'function' => '__wc_eu_vat_number_init'
1438
);
1439
$modules[] = array(
1440
'name' => 'aelia_eu_vat',
@@ -1533,11 +1541,11 @@ function woo_ce_modules_list( $module_status = false ) {
1533
'class' => 'WooCommerce_Product_Fees'
1534
);
1535
$modules[] = array(
1536
- 'name' => 'wc_events',
1537
- 'title' => __( 'WooCommerce Events', 'woocommerce-exporter' ),
1538
- 'description' => __( 'Adds event and ticketing features to WooCommerce.', 'woocommerce-exporter' ),
1539
'url' => 'http://www.woocommerceevents.com/',
1540
- 'class' => 'WooCommerce_Events'
1541
);
1542
$modules[] = array(
1543
'name' => 'wc_tabmanager',
@@ -1561,6 +1569,14 @@ function woo_ce_modules_list( $module_status = false ) {
1561
'slug' => 'woocommerce-barcode-isbn',
1562
'function' => 'woo_add_barcode'
1563
);
1564
$modules[] = array(
1565
'name' => 'video_product_tab',
1566
'title' => __( 'WooCommerce Video Product Tab', 'woocommerce-exporter' ),
@@ -1656,7 +1672,8 @@ function woo_ce_modules_list( $module_status = false ) {
1656
'title' => __( 'WooCommerce Memberships', 'woocommerce-exporter' ),
1657
'description' => __( 'Sell memberships that provide access to restricted content, products, discounts, and more!', 'woocommerce-exporter' ),
1658
'url' => 'http://www.woothemes.com/products/woocommerce-memberships/',
1659
- 'function' => 'init_woocommerce_memberships'
1660
);
1661
$modules[] = array(
1662
'name' => 'wc_product_bundles',
@@ -1686,6 +1703,13 @@ function woo_ce_modules_list( $module_status = false ) {
1686
'url' => 'https://woocommerce.com/products/shipping-multiple-addresses/',
1687
'class' => 'WC_Ship_Multiple'
1688
);
1689
$modules[] = array(
1690
'name' => 'awebooking',
1691
'title' => __( 'AweBooking', 'woocommerce-exporter' ),
@@ -1847,7 +1871,7 @@ function woo_ce_modules_list( $module_status = false ) {
1847
);
1848
$modules[] = array(
1849
'name' => 'wc_easybooking',
1850
- 'title' => __( 'WooCommerce Easy Bookings', 'woocommerce-exporter' ),
1851
'description' => __( 'Easily rent or book your products with WooCommerce.', 'woocommerce-exporter' ),
1852
'url' => 'https://wordpress.org/plugins/woocommerce-easy-booking-system/',
1853
'slug' => 'woocommerce-easy-booking-system',
@@ -1887,7 +1911,7 @@ function woo_ce_modules_list( $module_status = false ) {
1887
'title' => __( 'AG WooCommerce Barcode / ISBN & Amazon ASIN - PRO', 'woocommerce-exporter' ),
1888
'description' => __( 'A plugin to add a barcode, ISBN & Amazon ASIN fields to WooCommerce.', 'woocommerce-exporter' ),
1889
'url' => 'https://www.weareag.co.uk/product/woocommerce-barcodeisbn-amazon-asin-pro/',
1890
- 'function' => 'AGD_load_updater'
1891
);
1892
$modules[] = array(
1893
'name' => 'wc_nm_personalizedproduct',
@@ -2008,6 +2032,43 @@ function woo_ce_modules_list( $module_status = false ) {
2008
'url' => 'https://alidropship.com/',
2009
'function' => 'adsw_check_server'
2010
);
2011
2012
// Ship to Multiple Addresses - WC_Ship_Multiple
2013
1208
$modules[] = array(
1209
'name' => 'wpseo',
1210
'title' => __( 'Yoast SEO', 'woocommerce-exporter' ),
1211
+ 'description' => __( 'The first true all-in-one SEO solution for WordPress. Formally WordPress SEO by Yoast.', 'woocommerce-exporter' ),
1212
'url' => 'http://yoast.com/wordpress/seo/#utm_source=wpadmin&utm_medium=plugin&utm_campaign=wpseoplugin',
1213
'slug' => 'wordpress-seo',
1214
'function' => 'wpseo_admin_init'
1262
'url' => 'http://wcvendors.com',
1263
'class' => 'WC_Vendors'
1264
);
1265
+ $modules[] = array(
1266
+ 'name' => 'wc_marketplace',
1267
+ 'title' => __( 'WC Marketplace', 'woocommerce-exporter' ),
1268
+ 'description' => __( 'The most user recommended multi-vendor marketplace plugin for WooCommerce.', 'woocommerce-exporter' ),
1269
+ 'url' => 'https://wc-marketplace.com/',
1270
+ 'function' => 'wcmp_plugin_init'
1271
+ );
1272
$modules[] = array(
1273
'name' => 'acf',
1274
'title' => __( 'Advanced Custom Fields', 'woocommerce-exporter' ),
1281
'title' => __( 'Product Add-ons', 'woocommerce-exporter' ),
1282
'description' => __( 'Allow your customers to customise your products by adding input boxes, dropdowns or a field set of checkboxes.', 'woocommerce-exporter' ),
1283
'url' => 'http://www.woothemes.com/products/product-add-ons/',
1284
+ 'class' => array( 'Product_Addon_Admin', 'Product_Addon_Display', 'WC_Product_Addons' )
1285
);
1286
$modules[] = array(
1287
'name' => 'seq',
1405
'title' => __( 'WooCommerce Extra Product Options', 'woocommerce-exporter' ),
1406
'description' => __( 'Create extra price fields globally or per-Product', 'woocommerce-exporter' ),
1407
'url' => 'http://codecanyon.net/item/woocommerce-extra-product-options/7908619',
1408
+ 'class' => array( 'TM_Extra_Product_Options', 'Themecomplete_Extra_Product_Options_Setup' )
1409
);
1410
$modules[] = array(
1411
'name' => 'woocommerce_jetpack',
1441
'title' => __( 'WooCommerce EU VAT Number', 'woocommerce-exporter' ),
1442
'description' => __( 'The EU VAT Number extension lets you collect and validate EU VAT numbers during checkout to identify B2B transactions verses B2C.', 'woocommerce-exporter' ),
1443
'url' => 'https://www.woothemes.com/products/eu-vat-number/',
1444
+ 'function' => '__wc_eu_vat_number_init',
1445
+ 'class' => 'WC_EU_VAT_Number_Init'
1446
);
1447
$modules[] = array(
1448
'name' => 'aelia_eu_vat',
1541
'class' => 'WooCommerce_Product_Fees'
1542
);
1543
$modules[] = array(
1544
+ 'name' => 'fooevents',
1545
+ 'title' => __( 'FooEvents for WooCommerce', 'woocommerce-exporter' ),
1546
+ 'description' => __( 'Adds event and ticketing features to WooCommerce, formally FooEvents for WooCommerce.', 'woocommerce-exporter' ),
1547
'url' => 'http://www.woocommerceevents.com/',
1548
+ 'class' => array( 'WooCommerce_Events', 'FooEvents' )
1549
);
1550
$modules[] = array(
1551
'name' => 'wc_tabmanager',
1569
'slug' => 'woocommerce-barcode-isbn',
1570
'function' => 'woo_add_barcode'
1571
);
1572
+ $modules[] = array(
1573
+ 'name' => 'woo_add_gtin',
1574
+ 'title' => __( 'WooCommerce UPC, EAN, and ISBN', 'woocommerce-exporter' ),
1575
+ 'description' => __( 'Add GTIN codes like UPC, EAN, and ISBN to your WooCommerce Products.', 'woocommerce-exporter' ),
1576
+ 'url' => 'https://wordpress.org/plugins/woo-add-gtin/',
1577
+ 'slug' => 'woo-add-gtin',
1578
+ 'class' => 'Woo_GTIN'
1579
+ );
1580
$modules[] = array(
1581
'name' => 'video_product_tab',
1582
'title' => __( 'WooCommerce Video Product Tab', 'woocommerce-exporter' ),
1672
'title' => __( 'WooCommerce Memberships', 'woocommerce-exporter' ),
1673
'description' => __( 'Sell memberships that provide access to restricted content, products, discounts, and more!', 'woocommerce-exporter' ),
1674
'url' => 'http://www.woothemes.com/products/woocommerce-memberships/',
1675
+ 'function' => 'init_woocommerce_memberships',
1676
+ 'class' => 'WC_Memberships_Loader'
1677
);
1678
$modules[] = array(
1679
'name' => 'wc_product_bundles',
1703
'url' => 'https://woocommerce.com/products/shipping-multiple-addresses/',
1704
'class' => 'WC_Ship_Multiple'
1705
);
1706
+ $modules[] = array(
1707
+ 'name' => 'ups_ap_shipping',
1708
+ 'title' => __( 'WooCommerce UPS Access Point Shipping', 'woocommerce-exporter' ),
1709
+ 'description' => __( '(UK) This plugin integrates with UPS Access Point&trade; services to deliver parcels at the nearest convenience store.', 'woocommerce-exporter' ),
1710
+ 'url' => 'https://shop.renoovodesign.co.uk/product/ups-access-point-plugin-woocommerce/',
1711
+ 'function' => 'run_woocommerce_ups_ap_shipping'
1712
+ );
1713
$modules[] = array(
1714
'name' => 'awebooking',
1715
'title' => __( 'AweBooking', 'woocommerce-exporter' ),
1871
);
1872
$modules[] = array(
1873
'name' => 'wc_easybooking',
1874
+ 'title' => __( 'WooCommerce Easy Booking', 'woocommerce-exporter' ),
1875
'description' => __( 'Easily rent or book your products with WooCommerce.', 'woocommerce-exporter' ),
1876
'url' => 'https://wordpress.org/plugins/woocommerce-easy-booking-system/',
1877
'slug' => 'woocommerce-easy-booking-system',
1911
'title' => __( 'AG WooCommerce Barcode / ISBN & Amazon ASIN - PRO', 'woocommerce-exporter' ),
1912
'description' => __( 'A plugin to add a barcode, ISBN & Amazon ASIN fields to WooCommerce.', 'woocommerce-exporter' ),
1913
'url' => 'https://www.weareag.co.uk/product/woocommerce-barcodeisbn-amazon-asin-pro/',
1914
+ 'function' => array( 'AGD_load_updater', 'woo_add_barcode' )
1915
);
1916
$modules[] = array(
1917
'name' => 'wc_nm_personalizedproduct',
2032
'url' => 'https://alidropship.com/',
2033
'function' => 'adsw_check_server'
2034
);
2035
+ $modules[] = array(
2036
+ 'name' => 'wc_alldiscounts_lite',
2037
+ 'title' => __( 'WooCommerce All Discounts Lite', 'woocommerce-exporter' ),
2038
+ 'description' => __( 'Manage your shop discounts like a pro.', 'woocommerce-exporter' ),
2039
+ 'url' => 'https://wordpress.org/plugins/woo-advanced-discounts/',
2040
+ 'slug' => 'woo-advanced-discounts',
2041
+ 'function' => 'run_wad'
2042
+ );
2043
+ $modules[] = array(
2044
+ 'name' => 'atum_inventory',
2045
+ 'title' => __( 'ATUM Inventory Management for WooCommerce', 'woocommerce-exporter' ),
2046
+ 'description' => __( 'ATUM is the most advanced free WooCommerce inventory management tool in the WordPress Plugins repository.', 'woocommerce-exporter' ),
2047
+ 'url' => 'https://wordpress.org/plugins/atum-stock-manager-for-woocommerce/',
2048
+ 'slug' => 'atum-stock-manager-for-woocommerce',
2049
+ 'class' => 'Atum\Inc\Helpers'
2050
+ );
2051
+ $modules[] = array(
2052
+ 'name' => 'wc_bookings_appointments_pro',
2053
+ 'title' => __( 'Bookings and Appointments For WooCommerce Premium', 'woocommerce-exporter' ),
2054
+ 'description' => __( 'Woocommerce Bookings and Appointments Premium converts your time, products or services etc into a bookable resource.', 'woocommerce-exporter' ),
2055
+ 'url' => 'https://www.pluginhive.com/product/woocommerce-booking-and-appointments/',
2056
+ 'class' => 'phive_booking_initialze_premium'
2057
+ );
2058
+ $modules[] = array(
2059
+ 'name' => 'wc_shipment_tracking',
2060
+ 'title' => __( 'WooCommerce Shipment Tracking', 'woocommerce-exporter' ),
2061
+ 'description' => __( 'Add tracking numbers to orders allowing customers to track their orders via a link.', 'woocommerce-exporter' ),
2062
+ 'url' => 'https://woocommerce.com/products/shipment-tracking/',
2063
+ 'class' => 'WC_Shipment_Tracking'
2064
+ );
2065
+ $modules[] = array(
2066
+ 'name' => 'wc_ups_shipping',
2067
+ 'title' => __( 'UPS WooCommerce Shipping', 'woocommerce-exporter' ),
2068
+ 'description' => __( 'Obtain Real time shipping rates, Print shipping labels and Track Shipment via the UPS Shipping API.', 'woocommerce-exporter' ),
2069
+ 'url' => 'https://www.pluginhive.com/product/woocommerce-ups-shipping-plugin-with-print-label/',
2070
+ 'class' => 'UPS_WooCommerce_Shipping'
2071
+ );
2072
2073
// Ship to Multiple Addresses - WC_Ship_Multiple
2074
includes/product.php CHANGED
@@ -505,10 +505,17 @@ function woo_ce_get_products( $args = array() ) {
505
);
506
507
// Filter Products by Product Type
508
- if( is_array( $product_type ) && !empty( $product_type ) ) {
509
// Check if we are just exporting Variations
510
- if( in_array( 'variation', $product_type ) && count( $product_type ) == 1 )
511
$args['post_type'] = array( 'product_variation' );
512
}
513
514
// Check if we are doing a Variation export
505
);
506
507
// Filter Products by Product Type
508
+ if(
509
+ is_array( $product_type ) &&
510
+ !empty( $product_type )
511
+ ) {
512
// Check if we are just exporting Variations
513
+ if(
514
+ in_array( 'variation', $product_type ) &&
515
+ count( $product_type ) == 1
516
+ ) {
517
$args['post_type'] = array( 'product_variation' );
518
+ }
519
}
520
521
// Check if we are doing a Variation export
readme.txt CHANGED
@@ -4,8 +4,8 @@ Contributors: visser, visser.labs
4
Donate link: https://www.visser.com.au/donations/
5
Tags: woocommerce, export, export products, export sales, export orders, export subscriptions, csv, xml, xls, xlsx, excel, export customers, export coupons, export users, export attributes
6
Requires at least: 2.9.2
7
- Tested up to: 4.9.8
8
- Stable tag: 2.0.2
9
License: GPLv2 or later
10
11
Export store details out of WooCommerce into simple formatted files (e.g. CSV, XML, Excel 2007, XLS, etc.).
@@ -164,6 +164,9 @@ If you have any problems, questions or suggestions please create a topic here on
164
165
== Changelog ==
166
167
= 2.0.2 =
168
* Fixed: Filter Products by Category not working when Variations included (thanks Leah)
169
4
Donate link: https://www.visser.com.au/donations/
5
Tags: woocommerce, export, export products, export sales, export orders, export subscriptions, csv, xml, xls, xlsx, excel, export customers, export coupons, export users, export attributes
6
Requires at least: 2.9.2
7
+ Tested up to: 5.2.2
8
+ Stable tag: 2.0.3
9
License: GPLv2 or later
10
11
Export store details out of WooCommerce into simple formatted files (e.g. CSV, XML, Excel 2007, XLS, etc.).
164
165
== Changelog ==
166
167
+ = 2.0.3 =
168
+ * Changed: Compatibility with WooCommerce 3.7 and WordPress 5.2.2
169
+
170
= 2.0.2 =
171
* Fixed: Filter Products by Category not working when Variations included (thanks Leah)
172
templates/admin/quick_export-product.php CHANGED
@@ -57,6 +57,7 @@
57
58
</div>
59
<!-- .inside -->
60
</div>
61
<!-- .postbox -->
62
57
58
</div>
59
<!-- .inside -->
60
+
61
</div>
62
<!-- .postbox -->
63