Version Description
- Fixed: Export notices not saving state
- Fixed: Donate notice blocking tab navigation
- Changed: Hide welcome notice after first export
- Added: Upgrade to Pro notice after first export
Download this release
Release Info
Developer | visser |
Plugin | WooCommerce – Store Exporter |
Version | 2.3 |
Comparing to | |
See all releases |
Code changes from version 2.2.1 to 2.3
- exporter.php +19 -2
- includes/admin.php +23 -0
- includes/functions.php +11 -0
- readme.txt +18 -13
- templates/admin/export.css +2 -3
- templates/admin/images/icon.png +0 -0
- templates/admin/tabs-overview.php +11 -23
- templates/admin/woo-admin_ce-export.css +0 -76
- templates/admin/woo-admin_ce-export.js +0 -179
- templates/admin/woo-admin_ce-export.php +0 -13
- templates/admin/woo-admin_ce-export_archive.php +0 -65
- templates/admin/woo-admin_ce-export_export.php +0 -508
- templates/admin/woo-admin_ce-export_overview.php +0 -85
- templates/admin/woo-admin_ce-export_settings.php +0 -153
- templates/admin/woo-admin_ce-export_tools.php +0 -22
- templates/admin/woo-admin_ce-media_csv_file.php +0 -12
- templates/admin/woo-admin_ce-media_export_details.php +0 -54
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.
|
7 |
* Author: Visser Labs
|
8 |
* Author URI: http://www.visser.com.au/about/
|
9 |
* License: GPL2
|
@@ -12,7 +12,7 @@
|
|
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
|
@@ -117,6 +117,8 @@ if( is_admin() ) {
|
|
117 |
// Add memory usage to the screen footer of the WooCommerce > Store Export screen
|
118 |
add_filter( 'admin_footer_text', 'woo_ce_admin_footer_text' );
|
119 |
|
|
|
|
|
120 |
}
|
121 |
|
122 |
// Process any pre-export notice confirmations
|
@@ -383,6 +385,21 @@ if( is_admin() ) {
|
|
383 |
|
384 |
// Print file contents to browser
|
385 |
} else {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
if( in_array( $export->export_format, array( 'csv' ) ) ) {
|
387 |
|
388 |
// Generate CSV contents
|
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.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.1
|
16 |
*/
|
17 |
|
18 |
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
117 |
// Add memory usage to the screen footer of the WooCommerce > Store Export screen
|
118 |
add_filter( 'admin_footer_text', 'woo_ce_admin_footer_text' );
|
119 |
|
120 |
+
woo_ce_export_init();
|
121 |
+
|
122 |
}
|
123 |
|
124 |
// Process any pre-export notice confirmations
|
385 |
|
386 |
// Print file contents to browser
|
387 |
} else {
|
388 |
+
|
389 |
+
// Hide welcome notices after the first export
|
390 |
+
if( !woo_ce_get_option( 'dismiss_quick_export_prompt', 0 ) )
|
391 |
+
woo_ce_update_option( 'dismiss_quick_export_prompt', 1 );
|
392 |
+
if( !woo_ce_get_option( 'dismiss_overview_prompt', 0 ) )
|
393 |
+
woo_ce_update_option( 'dismiss_overview_prompt', 1 );
|
394 |
+
|
395 |
+
// Show the upgrade notice after the first export
|
396 |
+
if(
|
397 |
+
!woo_ce_get_option( 'show_upgrade_prompt', 0 ) &&
|
398 |
+
!woo_ce_get_option( 'dismiss_upgrade_prompt', 0 )
|
399 |
+
) {
|
400 |
+
woo_ce_update_option( 'show_upgrade_prompt', 1 );
|
401 |
+
}
|
402 |
+
|
403 |
if( in_array( $export->export_format, array( 'csv' ) ) ) {
|
404 |
|
405 |
// Generate CSV contents
|
includes/admin.php
CHANGED
@@ -312,6 +312,29 @@ function woo_ce_tab_template( $tab = '' ) {
|
|
312 |
|
313 |
$troubleshooting_url = 'http://www.visser.com.au/documentation/store-exporter-deluxe/';
|
314 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
switch( $tab ) {
|
316 |
|
317 |
case 'overview':
|
312 |
|
313 |
$troubleshooting_url = 'http://www.visser.com.au/documentation/store-exporter-deluxe/';
|
314 |
|
315 |
+
if( in_array( $tab, array( 'export', 'scheduled_export', 'export_template', 'settings', 'tools' ) ) ) {
|
316 |
+
|
317 |
+
// Upgrade notice for Quick Export screen
|
318 |
+
if(
|
319 |
+
woo_ce_get_option( 'show_upgrade_prompt', 0 ) &&
|
320 |
+
!woo_ce_get_option( 'dismiss_upgrade_prompt', 0 )
|
321 |
+
) {
|
322 |
+
$dismiss_url = esc_url( add_query_arg( array( 'action' => 'dismiss_upgrade_prompt', '_wpnonce' => wp_create_nonce( 'woo_ce_dismiss_upgrade_prompt' ) ) ) );
|
323 |
+
$message = '';
|
324 |
+
$message .= '<span style="float:right;">';
|
325 |
+
$message .= '<a href="' . $woo_cd_url . '" target="_blank" class="button button-primary">' . __( 'Upgrade now', 'woocommerce-exporter' ) . '</a>' . ' ';
|
326 |
+
$message .= '<a href="' . $woo_cd_url . '" target="_blank" class="button">' . __( 'Tell me more', 'woocommerce-exporter' ) . '</a>' . '<br />';
|
327 |
+
$message .= '<a href="' . $dismiss_url . '" style="float: right; margin-top:0.5em;">' . __( 'Dismiss', 'woocommerce-exporter' ) . '</a>';
|
328 |
+
$message .= '</span>';
|
329 |
+
$message .= '<img src="' . plugins_url( '/templates/admin/images/icon.png', WOO_CE_RELPATH ) . '" alt="" style="height:64px; margin-right:0.5em; float:left;" />';
|
330 |
+
$message .= '<strong>' . __( 'Unlock business focused WooCommerce exports. Scheduled Exports, Export Templates, Order, Customer, Subscription exports and more!', 'woocommerce-exporter' ) . '</strong> ';
|
331 |
+
$message .= '<br />' . sprintf( __( 'Upgrade to %s to unlock all of the business-focused features, filters and options.', 'woocommerce-exporter' ), $woo_cd_link );
|
332 |
+
$message .= '<br class="clear" />';
|
333 |
+
woo_ce_admin_notice_html( $message, 'updated' );
|
334 |
+
}
|
335 |
+
|
336 |
+
}
|
337 |
+
|
338 |
switch( $tab ) {
|
339 |
|
340 |
case 'overview':
|
includes/functions.php
CHANGED
@@ -183,6 +183,17 @@ if( is_admin() ) {
|
|
183 |
}
|
184 |
break;
|
185 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
case 'dismiss_archives_prompt':
|
187 |
// We need to verify the nonce.
|
188 |
if( !empty( $_GET ) && check_admin_referer( 'woo_ce_dismiss_archives_prompt' ) ) {
|
183 |
}
|
184 |
break;
|
185 |
|
186 |
+
case 'dismiss_upgrade_prompt':
|
187 |
+
// We need to verify the nonce.
|
188 |
+
if( !empty( $_GET ) && check_admin_referer( 'woo_ce_dismiss_upgrade_prompt' ) ) {
|
189 |
+
// Remember that we've dismissed this notice
|
190 |
+
woo_ce_update_option( 'dismiss_upgrade_prompt', 1 );
|
191 |
+
$url = add_query_arg( array( 'action' => null, '_wpnonce' => null ) );
|
192 |
+
wp_redirect( $url );
|
193 |
+
exit();
|
194 |
+
}
|
195 |
+
break;
|
196 |
+
|
197 |
case 'dismiss_archives_prompt':
|
198 |
// We need to verify the nonce.
|
199 |
if( !empty( $_GET ) && check_admin_referer( 'woo_ce_dismiss_archives_prompt' ) ) {
|
readme.txt
CHANGED
@@ -5,16 +5,18 @@ Donate link: https://www.visser.com.au/donations/
|
|
5 |
Tags: woocommerce, export, products, sales, orders, coupons, users, subscriptions, csv
|
6 |
Requires at least: 2.9.2
|
7 |
Tested up to: 5.2.4
|
8 |
-
Stable tag: 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.).
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
-
|
16 |
|
17 |
-
|
|
|
|
|
18 |
|
19 |
Supported since 2012 Store Exporter for WooCommerce is maintained by an active community of store owners and developers providing feature suggestions and feedback.
|
20 |
|
@@ -113,8 +115,6 @@ Just a few of the features unlocked in the [Pro upgrade of Store Exporter](https
|
|
113 |
|
114 |
... and many more free and Premium extensions for WooCommerce and WordPress.
|
115 |
|
116 |
-
Want regular updates? [Become a fan on Facebook](http://www.facebook.com/visser.labs/)
|
117 |
-
|
118 |
[For more information visit our site.](https://www.visser.com.au/solutions/woocommerce-export/)
|
119 |
|
120 |
Happy exporting! :)
|
@@ -144,17 +144,22 @@ If you have any problems, questions or suggestions please create a topic here on
|
|
144 |
|
145 |
== Screenshots ==
|
146 |
|
147 |
-
1.
|
148 |
-
2.
|
149 |
-
3.
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
8. Drag-and-drop export fields to your preferred ordering, sorting is saved between screen refreshes.
|
155 |
|
156 |
== Changelog ==
|
157 |
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
= 2.2.1 =
|
159 |
* Fixed: Fatal error affecting Product export with WooCommerce Custom Fields Plugin (thanks @kramarz)
|
160 |
|
5 |
Tags: woocommerce, export, products, sales, orders, coupons, users, subscriptions, csv
|
6 |
Requires at least: 2.9.2
|
7 |
Tested up to: 5.2.4
|
8 |
+
Stable tag: 2.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.).
|
12 |
|
13 |
== Description ==
|
14 |
|
15 |
+
[Premium](https://www.visser.com.au/solutions/woocommerce-export/) | [Documentation](https://www.visser.com.au/documentation/store-exporter-deluxe/)
|
16 |
|
17 |
+
**Store Exporter for WooCommerce creates Product, Order, Category, Tag and User exports to suit your store requirements, simply click Quick Export to produce concise, ready to use Excel spreadshseets.**
|
18 |
+
|
19 |
+
Screen-loads of filters and options are available to customise each export type, with native export integration of 125+ WooCommerce Plugins.
|
20 |
|
21 |
Supported since 2012 Store Exporter for WooCommerce is maintained by an active community of store owners and developers providing feature suggestions and feedback.
|
22 |
|
115 |
|
116 |
... and many more free and Premium extensions for WooCommerce and WordPress.
|
117 |
|
|
|
|
|
118 |
[For more information visit our site.](https://www.visser.com.au/solutions/woocommerce-export/)
|
119 |
|
120 |
Happy exporting! :)
|
144 |
|
145 |
== Screenshots ==
|
146 |
|
147 |
+
1. Each export type contains its own fields, filters and options.
|
148 |
+
2. Select the Product fields to be included in the export, selections are remembered.
|
149 |
+
3. Filters are available for each export type.
|
150 |
+
3. Adjust options to suit different languages, file formats and column formatting.
|
151 |
+
4. Native export integration with 100+ WooCommerce and WordPress Plugins.
|
152 |
+
5. Use the Field Editor to label export columns
|
153 |
+
6. Manage Plugin options from the Settings screen.
|
|
|
154 |
|
155 |
== Changelog ==
|
156 |
|
157 |
+
= 2.3 =
|
158 |
+
* Fixed: Export notices not saving state
|
159 |
+
* Fixed: Donate notice blocking tab navigation
|
160 |
+
* Changed: Hide welcome notice after first export
|
161 |
+
* Added: Upgrade to Pro notice after first export
|
162 |
+
|
163 |
= 2.2.1 =
|
164 |
* Fixed: Fatal error affecting Product export with WooCommerce Custom Fields Plugin (thanks @kramarz)
|
165 |
|
templates/admin/export.css
CHANGED
@@ -28,13 +28,12 @@
|
|
28 |
font-weight:normal;
|
29 |
}
|
30 |
#woo-ce .overview-right p {
|
31 |
-
font-size:12px;
|
32 |
color:#333;
|
33 |
line-height:1.6em;
|
34 |
}
|
35 |
#woo-ce .overview-right ul {
|
36 |
font-size:12px;
|
37 |
-
line-height:1.
|
38 |
}
|
39 |
|
40 |
/* Export */
|
@@ -150,7 +149,7 @@ body.post-type-export_template div#message-max_input_vars {
|
|
150 |
#woo-ce .support-donate_rate {
|
151 |
display:block;
|
152 |
float:right;
|
153 |
-
width:
|
154 |
text-align:right;
|
155 |
}
|
156 |
#woo-ce .support-donate_rate p {
|
28 |
font-weight:normal;
|
29 |
}
|
30 |
#woo-ce .overview-right p {
|
|
|
31 |
color:#333;
|
32 |
line-height:1.6em;
|
33 |
}
|
34 |
#woo-ce .overview-right ul {
|
35 |
font-size:12px;
|
36 |
+
line-height:1.6em;
|
37 |
}
|
38 |
|
39 |
/* Export */
|
149 |
#woo-ce .support-donate_rate {
|
150 |
display:block;
|
151 |
float:right;
|
152 |
+
width:auto;
|
153 |
text-align:right;
|
154 |
}
|
155 |
#woo-ce .support-donate_rate p {
|
templates/admin/images/icon.png
ADDED
Binary file
|
templates/admin/tabs-overview.php
CHANGED
@@ -123,27 +123,17 @@
|
|
123 |
<!-- .overview-left -->
|
124 |
<div class="welcome-panel overview-right">
|
125 |
<h3>
|
126 |
-
|
127 |
-
<?php _e( 'Upgrade to Pro', 'woocommerce-exporter' ); ?>
|
128 |
</h3>
|
129 |
-
<p class="clear"><strong><?php _e( 'Upgrade to Store Exporter Deluxe
|
130 |
<ul class="ul-disc">
|
131 |
-
<li><?php _e( 'Native export support for
|
|
|
132 |
<li><?php _e( 'Select export date ranges', 'woocommerce-exporter' ); ?></li>
|
133 |
-
<li><?php _e( '
|
134 |
<li><?php _e( 'Filter exports by multiple filter options', 'woocommerce-exporter' ); ?></li>
|
135 |
-
<li><?php _e( 'Export Orders', 'woocommerce-exporter' ); ?></li>
|
136 |
-
<li><?php _e( 'Export custom Order
|
137 |
-
<li><?php _e( 'Export Customers', 'woocommerce-exporter' ); ?></li>
|
138 |
-
<li><?php _e( 'Export custom Customer meta', 'woocommerce-exporter' ); ?></li>
|
139 |
-
<li><?php _e( 'Export Coupons', 'woocommerce-exporter' ); ?></li>
|
140 |
-
<li><?php _e( 'Export custom User meta', 'woocommerce-exporter' ); ?></li>
|
141 |
-
<li><?php _e( 'Export Subscriptions', 'woocommerce-exporter' ); ?></li>
|
142 |
-
<li><?php _e( 'Export Product Vendors', 'woocommerce-exporter' ); ?></li>
|
143 |
-
<li><?php _e( 'Export Shipping Classes', 'woocommerce-exporter' ); ?></li>
|
144 |
-
<li><?php _e( 'Export Bookings', 'woocommerce-exporter' ); ?></li>
|
145 |
-
<li><?php _e( 'Export Tickets', 'woocommerce-exporter' ); ?></li>
|
146 |
-
<li><?php _e( 'Export Attributes', 'woocommerce-exporter' ); ?></li>
|
147 |
<li><?php _e( 'CRON export engine', 'woocommerce-exporter' ); ?></li>
|
148 |
<li><?php _e( 'WP-CLI export engine', 'woocommerce-exporter' ); ?></li>
|
149 |
<li><?php _e( 'Schedule automatic exports with filtering options', 'woocommerce-exporter' ); ?></li>
|
@@ -151,16 +141,14 @@
|
|
151 |
<li><?php _e( 'Export to remote POST', 'woocommerce-exporter' ); ?></li>
|
152 |
<li><?php _e( 'Export to e-mail addresses', 'woocommerce-exporter' ); ?></li>
|
153 |
<li><?php _e( 'Export to remote FTP/FTPS/SFTP', 'woocommerce-exporter' ); ?></li>
|
154 |
-
<li><?php _e( 'Export to XML file', 'woocommerce-exporter' ); ?></li>
|
155 |
-
<li><?php _e( 'Export to RSS file', 'woocommerce-exporter' ); ?></li>
|
156 |
-
<li><?php _e( 'Export to Excel 97-2003 (XLS) file', 'woocommerce-exporter' ); ?></li>
|
157 |
<li><?php _e( 'Export to Excel 2007-2013 (XLSX) file', 'woocommerce-exporter' ); ?></li>
|
158 |
-
<li><?php _e( '
|
|
|
159 |
<li><?php _e( '...and more.', 'woocommerce-exporter' ); ?></li>
|
160 |
</ul>
|
161 |
<p>
|
162 |
-
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button"><?php _e( '
|
163 |
-
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button
|
164 |
</p>
|
165 |
</div>
|
166 |
<!-- .overview-right -->
|
123 |
<!-- .overview-left -->
|
124 |
<div class="welcome-panel overview-right">
|
125 |
<h3>
|
126 |
+
<?php _e( 'Unlock business focused WooCommerce exports.', 'woocommerce-exporter' ); ?>
|
|
|
127 |
</h3>
|
128 |
+
<p class="clear"><strong><?php _e( 'Upgrade to Store Exporter Deluxe today!', 'woocommerce-exporter' ); ?></strong></p>
|
129 |
<ul class="ul-disc">
|
130 |
+
<li><?php _e( 'Native export support for 125+ Plugins', 'woocommerce-exporter' ); ?></li>
|
131 |
+
<li><?php _e( 'Premium Support', 'woocommerce-exporter' ); ?></li>
|
132 |
<li><?php _e( 'Select export date ranges', 'woocommerce-exporter' ); ?></li>
|
133 |
+
<li><?php _e( 'Export Templates', 'woocommerce-exporter' ); ?></li>
|
134 |
<li><?php _e( 'Filter exports by multiple filter options', 'woocommerce-exporter' ); ?></li>
|
135 |
+
<li><?php _e( 'Export Orders, Customers, Coupons, Subscriptions, Product Vendors, Shippping Classes, Attributes, Bookings, Tickets and more', 'woocommerce-exporter' ); ?></li>
|
136 |
+
<li><?php _e( 'Export custom Order, Order Item, Customer, Subscription, Booking, User meta and more', 'woocommerce-exporter' ); ?></li>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
<li><?php _e( 'CRON export engine', 'woocommerce-exporter' ); ?></li>
|
138 |
<li><?php _e( 'WP-CLI export engine', 'woocommerce-exporter' ); ?></li>
|
139 |
<li><?php _e( 'Schedule automatic exports with filtering options', 'woocommerce-exporter' ); ?></li>
|
141 |
<li><?php _e( 'Export to remote POST', 'woocommerce-exporter' ); ?></li>
|
142 |
<li><?php _e( 'Export to e-mail addresses', 'woocommerce-exporter' ); ?></li>
|
143 |
<li><?php _e( 'Export to remote FTP/FTPS/SFTP', 'woocommerce-exporter' ); ?></li>
|
|
|
|
|
|
|
144 |
<li><?php _e( 'Export to Excel 2007-2013 (XLSX) file', 'woocommerce-exporter' ); ?></li>
|
145 |
+
<li><?php _e( 'Export to Excel 97-2003 (XLS) file', 'woocommerce-exporter' ); ?></li>
|
146 |
+
<li><?php _e( 'Export to XML, JSON and RSS file formats', 'woocommerce-exporter' ); ?></li>
|
147 |
<li><?php _e( '...and more.', 'woocommerce-exporter' ); ?></li>
|
148 |
</ul>
|
149 |
<p>
|
150 |
+
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button button-primary"><?php _e( 'Upgrade Now', 'woocommerce-exporter' ); ?></a>
|
151 |
+
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button"><?php _e( 'Tell me more', 'woocommerce-exporter' ); ?></a>
|
152 |
</p>
|
153 |
</div>
|
154 |
<!-- .overview-right -->
|
templates/admin/woo-admin_ce-export.css
DELETED
@@ -1,76 +0,0 @@
|
|
1 |
-
/* Tabbed navigation */
|
2 |
-
|
3 |
-
.woocommerce_page_woo_ce h2 .nav-tab {
|
4 |
-
font-size: 16px;
|
5 |
-
margin-right:0;
|
6 |
-
}
|
7 |
-
|
8 |
-
.woocommerce_page_woo_ce h2.nav-tab-wrapper {
|
9 |
-
padding-left:7px;
|
10 |
-
}
|
11 |
-
|
12 |
-
/* Export */
|
13 |
-
|
14 |
-
.woocommerce_page_woo_ce #export-type th {
|
15 |
-
padding:0;
|
16 |
-
}
|
17 |
-
.woocommerce_page_woo_ce #export-type td {
|
18 |
-
padding:0;
|
19 |
-
}
|
20 |
-
.woocommerce_page_woo_ce .postbox .submit {
|
21 |
-
padding:0.3em 0;
|
22 |
-
}
|
23 |
-
.woocommerce_page_woo_ce textarea#export_log {
|
24 |
-
font:12px Consolas, Monaco, Courier, monospace;
|
25 |
-
width:100%;
|
26 |
-
height:200px;
|
27 |
-
}
|
28 |
-
.woocommerce_page_woo_ce .separator {
|
29 |
-
border-bottom:1px solid #dfdfdf;
|
30 |
-
}
|
31 |
-
|
32 |
-
.woocommerce_page_woo_ce .overview-left {
|
33 |
-
float:left;
|
34 |
-
width:73%;
|
35 |
-
}
|
36 |
-
.woocommerce_page_woo_ce .overview-right {
|
37 |
-
float:left;
|
38 |
-
width:24%;
|
39 |
-
}
|
40 |
-
.woocommerce_page_woo_ce .overview-right h3 {
|
41 |
-
font-size:16px;
|
42 |
-
}
|
43 |
-
.woocommerce_page_woo_ce .overview-right h3 span {
|
44 |
-
float:right;
|
45 |
-
font-size:11px;
|
46 |
-
font-weight:normal;
|
47 |
-
}
|
48 |
-
.woocommerce_page_woo_ce .overview-right p {
|
49 |
-
font-size:12px;
|
50 |
-
color:#333;
|
51 |
-
line-height:1.6em;
|
52 |
-
}
|
53 |
-
.woocommerce_page_woo_ce .overview-right ul {
|
54 |
-
font-size:12px;
|
55 |
-
line-height:1.2em;
|
56 |
-
}
|
57 |
-
|
58 |
-
/* Support - Donate / Rate */
|
59 |
-
|
60 |
-
.woocommerce_page_woo_ce .support-donate_rate {
|
61 |
-
display:block;
|
62 |
-
float:right;
|
63 |
-
}
|
64 |
-
.woocommerce_page_woo_ce .support-donate_rate p {
|
65 |
-
margin-top:16px;
|
66 |
-
}
|
67 |
-
.woocommerce_page_woo_ce .support-donate_rate .star {
|
68 |
-
vertical-align:bottom;
|
69 |
-
display:inline-block;
|
70 |
-
width:17px;
|
71 |
-
height:17px;
|
72 |
-
background:url('images/star.png') no-repeat;
|
73 |
-
}
|
74 |
-
.woocommerce_page_woo_ce .support-donate_rate span {
|
75 |
-
display:none;
|
76 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export.js
DELETED
@@ -1,179 +0,0 @@
|
|
1 |
-
var $j = jQuery.noConflict();
|
2 |
-
$j(function() {
|
3 |
-
|
4 |
-
$j('#skip_overview').click(function(){
|
5 |
-
$j('#skip_overview_form').submit();
|
6 |
-
});
|
7 |
-
|
8 |
-
// Date Picker
|
9 |
-
$j('.datepicker').datepicker({
|
10 |
-
dateFormat: 'dd/mm/yy'
|
11 |
-
});
|
12 |
-
|
13 |
-
// Chosen
|
14 |
-
$j(".chzn-select").chosen({
|
15 |
-
search_contains: true
|
16 |
-
});
|
17 |
-
|
18 |
-
$j('#export-products').show();
|
19 |
-
// Categories
|
20 |
-
$j('#export-products-filters-categories').hide();
|
21 |
-
if( $j('#products-filters-categories').attr('checked') ) {
|
22 |
-
$j('#export-products-filters-categories').show();
|
23 |
-
}
|
24 |
-
// Tags
|
25 |
-
$j('#export-products-filters-tags').hide();
|
26 |
-
if( $j('#products-filters-tags').attr('checked') ) {
|
27 |
-
$j('#export-products-filters-tags').show();
|
28 |
-
}
|
29 |
-
// Product Status
|
30 |
-
$j('#export-products-filters-status').hide();
|
31 |
-
if( $j('#products-filters-status').attr('checked') ) {
|
32 |
-
$j('#export-products-filters-status').show();
|
33 |
-
}
|
34 |
-
$j('#export-products-filters-type').hide();
|
35 |
-
if( $j('#products-filters-type').attr('checked') ) {
|
36 |
-
$j('#export-products-filters-type').show();
|
37 |
-
}
|
38 |
-
$j('#export-categories').hide();
|
39 |
-
$j('#export-tags').hide();
|
40 |
-
$j('#export-orders').hide();
|
41 |
-
$j('#export-orders-filters-status').hide();
|
42 |
-
if( $j('#orders-filters-status').attr('checked') ) {
|
43 |
-
$j('#export-orders-filters-status').show();
|
44 |
-
}
|
45 |
-
$j('#export-orders-filters-date').hide();
|
46 |
-
if( $j('#orders-filters-date').attr('checked') ) {
|
47 |
-
$j('#export-orders-filters-date').show();
|
48 |
-
}
|
49 |
-
$j('#export-orders-filters-user_role').hide();
|
50 |
-
if( $j('#orders-filters-user_role').attr('checked') ) {
|
51 |
-
$j('#export-orders-filters-user_role').show();
|
52 |
-
}
|
53 |
-
$j('#export-customers').hide();
|
54 |
-
$j('#export-coupons').hide();
|
55 |
-
|
56 |
-
$j('#products-filters-categories').click(function(){
|
57 |
-
$j('#export-products-filters-categories').toggle();
|
58 |
-
});
|
59 |
-
$j('#products-filters-tags').click(function(){
|
60 |
-
$j('#export-products-filters-tags').toggle();
|
61 |
-
});
|
62 |
-
$j('#products-filters-status').click(function(){
|
63 |
-
$j('#export-products-filters-status').toggle();
|
64 |
-
});
|
65 |
-
$j('#products-filters-type').click(function(){
|
66 |
-
$j('#export-products-filters-type').toggle();
|
67 |
-
});
|
68 |
-
$j('#orders-filters-status').click(function(){
|
69 |
-
$j('#export-orders-filters-status').toggle();
|
70 |
-
});
|
71 |
-
$j('#orders-filters-date').click(function(){
|
72 |
-
$j('#export-orders-filters-date').toggle();
|
73 |
-
});
|
74 |
-
$j('#orders-filters-user_role').click(function(){
|
75 |
-
$j('#export-orders-filters-user_role').toggle();
|
76 |
-
});
|
77 |
-
|
78 |
-
// Export types
|
79 |
-
$j('#products').click(function(){
|
80 |
-
$j('#export-products').show();
|
81 |
-
$j('#export-categories').hide();
|
82 |
-
$j('#export-tags').hide();
|
83 |
-
$j('#export-orders').hide();
|
84 |
-
$j('#export-customers').hide();
|
85 |
-
$j('#export-coupons').hide();
|
86 |
-
|
87 |
-
$j('.export-options').hide();
|
88 |
-
$j('.product-options').show();
|
89 |
-
});
|
90 |
-
$j('#categories').click(function(){
|
91 |
-
$j('#export-products').hide();
|
92 |
-
$j('#export-categories').show();
|
93 |
-
$j('#export-tags').hide();
|
94 |
-
$j('#export-orders').hide();
|
95 |
-
$j('#export-customers').hide();
|
96 |
-
$j('#export-coupons').hide();
|
97 |
-
|
98 |
-
$j('.export-options').hide();
|
99 |
-
$j('.category-options').show();
|
100 |
-
});
|
101 |
-
$j('#tags').click(function(){
|
102 |
-
$j('#export-products').hide();
|
103 |
-
$j('#export-categories').hide();
|
104 |
-
$j('#export-tags').show();
|
105 |
-
$j('#export-orders').hide();
|
106 |
-
$j('#export-customers').hide();
|
107 |
-
$j('#export-coupons').hide();
|
108 |
-
|
109 |
-
$j('.export-options').hide();
|
110 |
-
$j('.tag-options').show();
|
111 |
-
});
|
112 |
-
$j('#orders').click(function(){
|
113 |
-
$j('#export-products').hide();
|
114 |
-
$j('#export-categories').hide();
|
115 |
-
$j('#export-tags').hide();
|
116 |
-
$j('#export-orders').show();
|
117 |
-
$j('#export-customers').hide();
|
118 |
-
$j('#export-coupons').hide();
|
119 |
-
|
120 |
-
$j('.export-options').hide();
|
121 |
-
$j('.order-options').show();
|
122 |
-
});
|
123 |
-
$j('#customers').click(function(){
|
124 |
-
$j('#export-products').hide();
|
125 |
-
$j('#export-categories').hide();
|
126 |
-
$j('#export-tags').hide();
|
127 |
-
$j('#export-orders').hide();
|
128 |
-
$j('#export-customers').show();
|
129 |
-
$j('#export-coupons').hide();
|
130 |
-
|
131 |
-
$j('.export-options').hide();
|
132 |
-
$j('.customer-options').show();
|
133 |
-
});
|
134 |
-
$j('#coupons').click(function(){
|
135 |
-
$j('#export-products').hide();
|
136 |
-
$j('#export-categories').hide();
|
137 |
-
$j('#export-tags').hide();
|
138 |
-
$j('#export-orders').hide();
|
139 |
-
$j('#export-customers').hide();
|
140 |
-
$j('#export-coupons').show();
|
141 |
-
|
142 |
-
$j('.export-options').hide();
|
143 |
-
$j('.coupon-options').show();
|
144 |
-
});
|
145 |
-
|
146 |
-
// Export button
|
147 |
-
$j('#export_products').click(function(){
|
148 |
-
$j('input:radio[name=dataset]:nth(0)').attr('checked',true);
|
149 |
-
});
|
150 |
-
$j('#export_orders').click(function(){
|
151 |
-
$j('input:radio[name=dataset]:nth(3)').attr('checked',true);
|
152 |
-
});
|
153 |
-
$j('#export_customers').click(function(){
|
154 |
-
$j('input:radio[name=dataset]:nth(4)').attr('checked',true);
|
155 |
-
});
|
156 |
-
$j('#export_coupons').click(function(){
|
157 |
-
$j('input:radio[name=dataset]:nth(5)').attr('checked',true);
|
158 |
-
});
|
159 |
-
|
160 |
-
// Select all
|
161 |
-
$j('.checkall').click(function () {
|
162 |
-
$j(this).closest('.postbox').find(':checkbox').attr('checked', true);
|
163 |
-
});
|
164 |
-
$j('.uncheckall').click(function () {
|
165 |
-
$j(this).closest('.postbox').find(':checkbox').attr('checked', false);
|
166 |
-
});
|
167 |
-
|
168 |
-
$j(document).ready(function() {
|
169 |
-
var href = jQuery(location).attr('href');
|
170 |
-
if (href.toLowerCase().indexOf('tab=export') >= 0) {
|
171 |
-
if (href.toLowerCase().indexOf('#') >= 0 ) {
|
172 |
-
var type = href.substr(href.indexOf("#") + 1)
|
173 |
-
var type = type.replace('export-','');
|
174 |
-
$j('#'+type).trigger('click');
|
175 |
-
}
|
176 |
-
}
|
177 |
-
});
|
178 |
-
|
179 |
-
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export.php
DELETED
@@ -1,13 +0,0 @@
|
|
1 |
-
<div id="content">
|
2 |
-
|
3 |
-
<h2 class="nav-tab-wrapper">
|
4 |
-
<a data-tab-id="overview" class="nav-tab<?php woo_ce_admin_active_tab( 'overview' ); ?>" href="<?php echo add_query_arg( array( 'page' => 'woo_ce', 'tab' => 'overview' ), 'admin.php' ); ?>"><?php _e( 'Overview', 'woo_ce' ); ?></a>
|
5 |
-
<a data-tab-id="export" class="nav-tab<?php woo_ce_admin_active_tab( 'export' ); ?>" href="<?php echo add_query_arg( array( 'page' => 'woo_ce', 'tab' => 'export' ), 'admin.php' ); ?>"><?php _e( 'Export', 'woo_ce' ); ?></a>
|
6 |
-
<a data-tab-id="archive" class="nav-tab<?php woo_ce_admin_active_tab( 'archive' ); ?>" href="<?php echo add_query_arg( array( 'page' => 'woo_ce', 'tab' => 'archive' ), 'admin.php' ); ?>"><?php _e( 'Archives', 'woo_ce' ); ?></a>
|
7 |
-
<a data-tab-id="settings" class="nav-tab<?php woo_ce_admin_active_tab( 'settings' ); ?>" href="<?php echo add_query_arg( array( 'page' => 'woo_ce', 'tab' => 'settings' ), 'admin.php' ); ?>"><?php _e( 'Settings', 'woo_ce' ); ?></a>
|
8 |
-
<a data-tab-id="tools" class="nav-tab<?php woo_ce_admin_active_tab( 'tools' ); ?>" href="<?php echo add_query_arg( array( 'page' => 'woo_ce', 'tab' => 'tools' ), 'admin.php' ); ?>"><?php _e( 'Tools', 'woo_ce' ); ?></a>
|
9 |
-
</h2>
|
10 |
-
<?php woo_ce_tab_template( $tab ); ?>
|
11 |
-
|
12 |
-
</div>
|
13 |
-
<!-- #content -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export_archive.php
DELETED
@@ -1,65 +0,0 @@
|
|
1 |
-
<ul class="subsubsub">
|
2 |
-
<li><a href="<?php echo add_query_arg( 'filter', null ); ?>"<?php woo_ce_archives_quicklink_current( 'all' ); ?>><?php _e( 'All', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count(); ?>)</span></a> |</li>
|
3 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'products' ); ?>"<?php woo_ce_archives_quicklink_current( 'products' ); ?>><?php _e( 'Products', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'products' ); ?>)</span></a> |</li>
|
4 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'categories' ); ?>"<?php woo_ce_archives_quicklink_current( 'categories' ); ?>><?php _e( 'Categories', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'categories' ); ?>)</span></a> |</li>
|
5 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'tags' ); ?>"<?php woo_ce_archives_quicklink_current( 'tags' ); ?>><?php _e( 'Tags', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'tags' ); ?>)</span></a> |</li>
|
6 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'orders' ); ?>"<?php woo_ce_archives_quicklink_current( 'orders' ); ?>><?php _e( 'Orders', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'orders' ); ?>)</span></a> |</li>
|
7 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'customers' ); ?>"<?php woo_ce_archives_quicklink_current( 'customers' ); ?>><?php _e( 'Customers', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'customers' ); ?>)</span></a> |</li>
|
8 |
-
<li><a href="<?php echo add_query_arg( 'filter', 'coupons' ); ?>"<?php woo_ce_archives_quicklink_current( 'coupons' ); ?>><?php _e( 'Coupons', 'woo_ce' ); ?> <span class="count">(<?php woo_ce_archives_quicklink_count( 'coupons' ); ?>)</span></a></li>
|
9 |
-
</ul>
|
10 |
-
<br class="clear" />
|
11 |
-
<form action="" method="GET">
|
12 |
-
<table class="widefat fixed media" cellspacing="0">
|
13 |
-
<thead>
|
14 |
-
|
15 |
-
<tr>
|
16 |
-
<th scope="col" id="icon" class="manage-column column-icon"></th>
|
17 |
-
<th scope="col" id="title" class="manage-column column-title"><?php _e( 'Filename', 'woo_ce' ); ?></th>
|
18 |
-
<th scope="col" class="manage-column column-type"><?php _e( 'Type', 'woo_ce' ); ?></th>
|
19 |
-
<th scope="col" class="manage-column column-author"><?php _e( 'Author', 'woo_ce' ); ?></th>
|
20 |
-
<th scope="col" id="title" class="manage-column column-title"><?php _e( 'Date', 'woo_ce' ); ?></th>
|
21 |
-
</tr>
|
22 |
-
|
23 |
-
</thead>
|
24 |
-
<tfoot>
|
25 |
-
|
26 |
-
<tr>
|
27 |
-
<th scope="col" class="manage-column column-icon"></th>
|
28 |
-
<th scope="col" class="manage-column column-title"><?php _e( 'Filename', 'woo_ce' ); ?></th>
|
29 |
-
<th scope="col" class="manage-column column-type"><?php _e( 'Type', 'woo_ce' ); ?></th>
|
30 |
-
<th scope="col" class="manage-column column-author"><?php _e( 'Author', 'woo_ce' ); ?></th>
|
31 |
-
<th scope="col" class="manage-column column-title"><?php _e( 'Date', 'woo_ce' ); ?></th>
|
32 |
-
</tr>
|
33 |
-
|
34 |
-
</tfoot>
|
35 |
-
<tbody id="the-list">
|
36 |
-
|
37 |
-
<?php if( $files ) { ?>
|
38 |
-
<?php foreach( $files as $file ) { ?>
|
39 |
-
<tr id="post-<?php echo $file->ID; ?>" class="author-self status-<?php echo $file->post_status; ?>" valign="top">
|
40 |
-
<td class="column-icon media-icon">
|
41 |
-
<?php echo $file->media_icon; ?>
|
42 |
-
</td>
|
43 |
-
<td class="post-title page-title column-title">
|
44 |
-
<strong><a href="<?php echo $file->guid; ?>" class="row-title"><?php echo $file->post_title; ?></a></strong>
|
45 |
-
<div class="row-actions">
|
46 |
-
<span class="view"><a href="<?php echo get_edit_post_link( $file->ID ); ?>" title="<?php _e( 'Edit', 'woo_ce' ); ?>"><?php _e( 'Edit', 'woo_ce' ); ?></a></span> |
|
47 |
-
<span class="trash"><a href="<?php echo get_delete_post_link( $file->ID, '', true ); ?>" title="<?php _e( 'Delete Permanently', 'woo_ce' ); ?>"><?php _e( 'Delete', 'woo_ce' ); ?></a></span>
|
48 |
-
</div>
|
49 |
-
</td>
|
50 |
-
<td class="title">
|
51 |
-
<a href="<?php echo add_query_arg( 'filter', $file->export_type ); ?>"><?php echo $file->export_type_label; ?></a>
|
52 |
-
</td>
|
53 |
-
<td class="author column-author"><?php echo $file->post_author_name; ?></td>
|
54 |
-
<td class="date column-date"><?php echo $file->post_date; ?></td>
|
55 |
-
</tr>
|
56 |
-
<?php } ?>
|
57 |
-
<?php } else { ?>
|
58 |
-
<tr id="post-<?php echo $file->ID; ?>" class="author-self" valign="top">
|
59 |
-
<td colspan="3" class="colspanchange"><?php _e( 'No past exports found.', 'woo_ce' ); ?></td>
|
60 |
-
</tr>
|
61 |
-
<?php } ?>
|
62 |
-
|
63 |
-
</tbody>
|
64 |
-
</table>
|
65 |
-
</form>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export_export.php
DELETED
@@ -1,508 +0,0 @@
|
|
1 |
-
<ul class="subsubsub">
|
2 |
-
<li><a href="#export-type"><?php _e( 'Export Type', 'woo_ce' ); ?></a> |</li>
|
3 |
-
<li><a href="#export-options"><?php _e( 'Export Options', 'woo_ce' ); ?></a></li>
|
4 |
-
<?php do_action( 'woo_ce_export_quicklinks' ); ?>
|
5 |
-
</ul>
|
6 |
-
<br class="clear" />
|
7 |
-
<p><?php _e( 'Select an export type from the list below to export entries. Once you have selected an export type you may select the fields you would like to export and optional filters available for each export type. When you click the export button below, Store Exporter will create a CSV file for you to save to your computer.', 'woo_ce' ); ?></p>
|
8 |
-
<form method="post" action="<?php echo add_query_arg( array( 'failed' => null, 'empty' => null, 'message' => null ) ); ?>" id="postform">
|
9 |
-
<div id="poststuff">
|
10 |
-
|
11 |
-
<div class="postbox" id="export-type">
|
12 |
-
<h3 class="hndle"><?php _e( 'Export Type', 'woo_ce' ); ?></h3>
|
13 |
-
<div class="inside">
|
14 |
-
<p class="description"><?php _e( 'Select the data type you want to export.', 'woo_ce' ); ?></p>
|
15 |
-
<table class="form-table">
|
16 |
-
|
17 |
-
<tr>
|
18 |
-
<th>
|
19 |
-
<input type="radio" id="products" name="dataset" value="products"<?php disabled( $products, 0 ); ?><?php checked( $dataset, 'products' ); ?> />
|
20 |
-
<label for="products"><?php _e( 'Products', 'woo_ce' ); ?></label>
|
21 |
-
</th>
|
22 |
-
<td>
|
23 |
-
<span class="description">(<?php echo $products; ?>)</span>
|
24 |
-
</td>
|
25 |
-
</tr>
|
26 |
-
|
27 |
-
<tr>
|
28 |
-
<th>
|
29 |
-
<input type="radio" id="categories" name="dataset" value="categories"<?php disabled( $categories, 0 ); ?><?php checked( $dataset, 'categories' ); ?> />
|
30 |
-
<label for="categories"><?php _e( 'Categories', 'woo_ce' ); ?></label>
|
31 |
-
</th>
|
32 |
-
<td>
|
33 |
-
<span class="description">(<?php echo $categories; ?>)</span>
|
34 |
-
</td>
|
35 |
-
</tr>
|
36 |
-
|
37 |
-
<tr>
|
38 |
-
<th>
|
39 |
-
<input type="radio" id="tags" name="dataset" value="tags"<?php disabled( $tags, 0 ); ?><?php checked( $dataset, 'tags' ); ?> />
|
40 |
-
<label for="tags"><?php _e( 'Tags', 'woo_ce' ); ?></label>
|
41 |
-
</th>
|
42 |
-
<td>
|
43 |
-
<span class="description">(<?php echo $tags; ?>)</span>
|
44 |
-
</td>
|
45 |
-
</tr>
|
46 |
-
|
47 |
-
<tr>
|
48 |
-
<th>
|
49 |
-
<input type="radio" id="orders" name="dataset" value="orders"<?php disabled( $orders, 0 ); ?><?php checked( $dataset, 'orders' ); ?>/>
|
50 |
-
<label for="orders"><?php _e( 'Orders', 'woo_ce' ); ?></label>
|
51 |
-
</th>
|
52 |
-
<td>
|
53 |
-
<span class="description">(<?php echo $orders; ?>)</span>
|
54 |
-
</td>
|
55 |
-
</tr>
|
56 |
-
|
57 |
-
<tr>
|
58 |
-
<th>
|
59 |
-
<input type="radio" id="customers" name="dataset" value="customers"<?php disabled( $customers, 0 ); ?><?php checked( $dataset, 'customers' ); ?>/>
|
60 |
-
<label for="customers"><?php _e( 'Customers', 'woo_ce' ); ?></label>
|
61 |
-
</th>
|
62 |
-
<td>
|
63 |
-
<span class="description">(<?php echo $customers; ?>)</span>
|
64 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
65 |
-
<span class="description"> - <?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?></span>
|
66 |
-
<?php } ?>
|
67 |
-
</td>
|
68 |
-
</tr>
|
69 |
-
|
70 |
-
<tr>
|
71 |
-
<th>
|
72 |
-
<input type="radio" id="coupons" name="dataset" value="coupons"<?php disabled( $coupons, 0 ); ?><?php checked( $dataset, 'coupons' ); ?> />
|
73 |
-
<label for="coupons"><?php _e( 'Coupons', 'woo_ce' ); ?></label>
|
74 |
-
</th>
|
75 |
-
<td>
|
76 |
-
<span class="description">(<?php echo $coupons; ?>)</span>
|
77 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
78 |
-
<span class="description"> - <?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?></span>
|
79 |
-
<?php } ?>
|
80 |
-
</td>
|
81 |
-
</tr>
|
82 |
-
|
83 |
-
</table>
|
84 |
-
<!--
|
85 |
-
<p class="submit">
|
86 |
-
<input type="submit" value="<?php _e( 'Export', 'woo_ce' ); ?>" class="button-primary" />
|
87 |
-
</p>
|
88 |
-
-->
|
89 |
-
</div>
|
90 |
-
</div>
|
91 |
-
<!-- .postbox -->
|
92 |
-
|
93 |
-
<?php if( $product_fields ) { ?>
|
94 |
-
<div id="export-products">
|
95 |
-
|
96 |
-
<div class="postbox">
|
97 |
-
<h3 class="hndle"><?php _e( 'Product Fields', 'woo_ce' ); ?></h3>
|
98 |
-
<div class="inside">
|
99 |
-
<?php if( $products ) { ?>
|
100 |
-
<p class="description"><?php _e( 'Select the Product fields you would like to export, your field selection is saved for future exports.', 'woo_ce' ); ?></p>
|
101 |
-
<p><a href="javascript:void(0)" id="products-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="products-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
102 |
-
<table>
|
103 |
-
|
104 |
-
<?php foreach( $product_fields as $product_field ) { ?>
|
105 |
-
<tr>
|
106 |
-
<td>
|
107 |
-
<label>
|
108 |
-
<input type="checkbox" name="product_fields[<?php echo $product_field['name']; ?>]" class="product_field"<?php checked( $product_field['default'], 1 ); ?><?php disabled( $product_field['disabled'], 1 ); ?> />
|
109 |
-
<?php echo $product_field['label']; ?>
|
110 |
-
</label>
|
111 |
-
</td>
|
112 |
-
</tr>
|
113 |
-
|
114 |
-
<?php } ?>
|
115 |
-
</table>
|
116 |
-
<p class="submit">
|
117 |
-
<input type="submit" id="export_products" value="<?php _e( 'Export Products', 'woo_ce' ); ?> " class="button-primary" />
|
118 |
-
</p>
|
119 |
-
<p class="description"><?php _e( 'Can\'t find a particular Product field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
120 |
-
<?php } else { ?>
|
121 |
-
<p><?php _e( 'No Products have been found.', 'woo_ce' ); ?></p>
|
122 |
-
<?php } ?>
|
123 |
-
</div>
|
124 |
-
</div>
|
125 |
-
<!-- .postbox -->
|
126 |
-
|
127 |
-
<div id="export-products-filters" class="postbox">
|
128 |
-
<h3 class="hndle"><?php _e( 'Product Filters', 'woo_ce' ); ?></h3>
|
129 |
-
<div class="inside">
|
130 |
-
|
131 |
-
<p><label><input type="checkbox" id="products-filters-categories" /> <?php _e( 'Filter Products by Product Categories', 'woo_ce' ); ?></label></p>
|
132 |
-
<div id="export-products-filters-categories" class="separator">
|
133 |
-
<?php if( $product_categories ) { ?>
|
134 |
-
<ul>
|
135 |
-
<?php foreach( $product_categories as $product_category ) { ?>
|
136 |
-
<li><label><input type="checkbox" name="product_filter_categories[<?php echo $product_category->term_id; ?>]" value="<?php echo $product_category->term_id; ?>" title="<?php printf( __( 'Term ID: %d', 'woo_ce' ), $product_category->term_id ); ?>"<?php disabled( $product_category->count, 0 ); ?> /> <?php echo woo_ce_format_product_category_label( $product_category->name, $product_category->parent_name ); ?> (<?php echo $product_category->count; ?>)</label></li>
|
137 |
-
<?php } ?>
|
138 |
-
</ul>
|
139 |
-
<p class="description"><?php _e( 'Select the Product Categories you want to filter exported Products by. Default is to include all Product Categories.', 'woo_ce' ); ?></p>
|
140 |
-
<?php } else { ?>
|
141 |
-
<p><?php _e( 'No Product Categories have been found.', 'woo_ce' ); ?></p>
|
142 |
-
<?php } ?>
|
143 |
-
</div>
|
144 |
-
<!-- #export-products-filters-categories -->
|
145 |
-
|
146 |
-
<p><label><input type="checkbox" id="products-filters-tags" /> <?php _e( 'Filter Products by Product Tags', 'woo_ce' ); ?></label></p>
|
147 |
-
<div id="export-products-filters-tags" class="separator">
|
148 |
-
<?php if( $product_tags ) { ?>
|
149 |
-
<ul>
|
150 |
-
<?php foreach( $product_tags as $product_tag ) { ?>
|
151 |
-
<li><label><input type="checkbox" name="product_filter_tags[<?php echo $product_tag->term_id; ?>]" value="<?php echo $product_tag->term_id; ?>" title="<?php printf( __( 'Term ID: %d', 'woo_ce' ), $product_tag->term_id ); ?>"<?php disabled( $product_tag->count, 0 ); ?> /> <?php echo $product_tag->name; ?> (<?php echo $product_tag->count; ?>)</label></li>
|
152 |
-
<?php } ?>
|
153 |
-
</ul>
|
154 |
-
<p class="description"><?php _e( 'Select the Product Tags you want to filter exported Products by. Default is to include all Product Tags.', 'woo_ce' ); ?></p>
|
155 |
-
<?php } else { ?>
|
156 |
-
<p><?php _e( 'No Product Tags have been found.', 'woo_ce' ); ?></p>
|
157 |
-
<?php } ?>
|
158 |
-
</div>
|
159 |
-
<!-- #export-products-filters-tags -->
|
160 |
-
|
161 |
-
<p><label><input type="checkbox" id="products-filters-status" /> <?php _e( 'Filter Products by Product Status', 'woo_ce' ); ?></label></p>
|
162 |
-
<div id="export-products-filters-status" class="separator">
|
163 |
-
<ul>
|
164 |
-
<?php foreach( $product_statuses as $key => $product_status ) { ?>
|
165 |
-
<li><label><input type="checkbox" name="product_filter_status[<?php echo $key; ?>]" value="<?php echo $key; ?>" /> <?php echo $product_status; ?></label></li>
|
166 |
-
<?php } ?>
|
167 |
-
</ul>
|
168 |
-
<p class="description"><?php _e( 'Select the Product Status options you want to filter exported Products by. Default is to include all Product Status options.', 'woo_ce' ); ?></p>
|
169 |
-
</div>
|
170 |
-
<!-- #export-products-filters-status -->
|
171 |
-
|
172 |
-
<p><label><input type="checkbox" id="products-filters-type" /> <?php _e( 'Filter Products by Product Type', 'woo_ce' ); ?></label></p>
|
173 |
-
<div id="export-products-filters-type" class="separator">
|
174 |
-
<ul>
|
175 |
-
<?php foreach( $product_types as $key => $product_type ) { ?>
|
176 |
-
<li><label><input type="checkbox" name="product_filter_type[<?php echo $key; ?>]" value="<?php echo $key; ?>" /> <?php echo woo_ce_format_product_type( $product_type['name'] ); ?> (<?php echo $product_type['count']; ?>)</label></li>
|
177 |
-
<?php } ?>
|
178 |
-
</ul>
|
179 |
-
<p class="description"><?php _e( 'Select the Product Type\'s you want to filter exported Products by. Default is to include all Product Types and Variations.', 'woo_ce' ); ?></p>
|
180 |
-
</div>
|
181 |
-
<!-- #export-products-filters-type -->
|
182 |
-
|
183 |
-
<p><label><?php _e( 'Product Sorting', 'woo_ce' ); ?></label></p>
|
184 |
-
<div>
|
185 |
-
<select name="product_orderby">
|
186 |
-
<option value="ID"<?php selected( 'ID', $product_orderby ); ?>><?php _e( 'Product ID', 'woo_ce' ); ?></option>
|
187 |
-
<option value="title"<?php selected( 'title', $product_orderby ); ?>><?php _e( 'Product Name', 'woo_ce' ); ?></option>
|
188 |
-
<option value="date"<?php selected( 'date', $product_orderby ); ?>><?php _e( 'Date Created', 'woo_ce' ); ?></option>
|
189 |
-
<option value="modified"<?php selected( 'modified', $product_orderby ); ?>><?php _e( 'Date Modified', 'woo_ce' ); ?></option>
|
190 |
-
<option value="rand"<?php selected( 'rand', $product_orderby ); ?>><?php _e( 'Random', 'woo_ce' ); ?></option>
|
191 |
-
<option value="menu_order"<?php selected( 'menu_order', $product_orderby ); ?>><?php _e( 'Sort Order', 'woo_ce' ); ?></option>
|
192 |
-
</select>
|
193 |
-
<select name="product_order">
|
194 |
-
<option value="ASC"<?php selected( 'ASC', $product_order ); ?>><?php _e( 'Ascending', 'woo_ce' ); ?></option>
|
195 |
-
<option value="DESC"<?php selected( 'DESC', $product_order ); ?>><?php _e( 'Descending', 'woo_ce' ); ?></option>
|
196 |
-
</select>
|
197 |
-
<p class="description"><?php _e( 'Select the sorting of Products within the exported file. By default this is set to export Products by Product ID in Desending order.', 'woo_ce' ); ?></p>
|
198 |
-
</div>
|
199 |
-
|
200 |
-
</div>
|
201 |
-
<!-- .inside -->
|
202 |
-
</div>
|
203 |
-
<!-- .postbox -->
|
204 |
-
|
205 |
-
</div>
|
206 |
-
<!-- #export-products -->
|
207 |
-
|
208 |
-
<?php } ?>
|
209 |
-
<div id="export-categories">
|
210 |
-
|
211 |
-
<div class="postbox">
|
212 |
-
<h3 class="hndle"><?php _e( 'Category Fields', 'woo_ce' ); ?></h3>
|
213 |
-
<div class="inside">
|
214 |
-
<p class="description"><?php _e( 'Select the Category fields you would like to export.', 'woo_ce' ); ?></p>
|
215 |
-
<p><a href="javascript:void(0)" id="categories-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="categories-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
216 |
-
<table>
|
217 |
-
|
218 |
-
<?php foreach( $category_fields as $category_field ) { ?>
|
219 |
-
<tr>
|
220 |
-
<td>
|
221 |
-
<label>
|
222 |
-
<input type="checkbox" name="category_fields[<?php echo $category_field['name']; ?>]" class="category_field"<?php checked( $category_field['default'], 1 ); ?><?php disabled( $category_field['disabled'], 1 ); ?> />
|
223 |
-
<?php echo $category_field['label']; ?>
|
224 |
-
</label>
|
225 |
-
</td>
|
226 |
-
</tr>
|
227 |
-
|
228 |
-
<?php } ?>
|
229 |
-
</table>
|
230 |
-
<p class="submit">
|
231 |
-
<input type="submit" id="export_categories" value="<?php _e( 'Export Categories', 'woo_ce' ); ?> " class="button-primary" />
|
232 |
-
</p>
|
233 |
-
<p class="description"><?php _e( 'Can\'t find a particular Category field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
234 |
-
</div>
|
235 |
-
<!-- .inside -->
|
236 |
-
</div>
|
237 |
-
<!-- .postbox -->
|
238 |
-
|
239 |
-
<div id="export-categories-filters" class="postbox">
|
240 |
-
<h3 class="hndle"><?php _e( 'Category Filters', 'woo_ce' ); ?></h3>
|
241 |
-
<div class="inside">
|
242 |
-
|
243 |
-
<p><label><?php _e( 'Category Sorting', 'woo_ce' ); ?></label></p>
|
244 |
-
<div>
|
245 |
-
<select name="category_orderby">
|
246 |
-
<option value="id"<?php selected( 'id', $category_orderby ); ?>><?php _e( 'Term ID', 'woo_ce' ); ?></option>
|
247 |
-
<option value="name"<?php selected( 'name', $category_orderby ); ?>><?php _e( 'Category Name', 'woo_ce' ); ?></option>
|
248 |
-
</select>
|
249 |
-
<select name="category_order">
|
250 |
-
<option value="ASC"<?php selected( 'ASC', $category_order ); ?>><?php _e( 'Ascending', 'woo_ce' ); ?></option>
|
251 |
-
<option value="DESC"<?php selected( 'DESC', $category_order ); ?>><?php _e( 'Descending', 'woo_ce' ); ?></option>
|
252 |
-
</select>
|
253 |
-
<p class="description"><?php _e( 'Select the sorting of Categories within the exported file. By default this is set to export Categories by Term ID in Desending order.', 'woo_ce' ); ?></p>
|
254 |
-
</div>
|
255 |
-
|
256 |
-
</div>
|
257 |
-
<!-- .inside -->
|
258 |
-
</div>
|
259 |
-
<!-- #export-categories-filters -->
|
260 |
-
|
261 |
-
</div>
|
262 |
-
<!-- #export-categories -->
|
263 |
-
|
264 |
-
<div id="export-tags">
|
265 |
-
|
266 |
-
<div class="postbox">
|
267 |
-
<h3 class="hndle"><?php _e( 'Tag Fields', 'woo_ce' ); ?></h3>
|
268 |
-
<div class="inside">
|
269 |
-
<p class="description"><?php _e( 'Select the Tag fields you would like to export.', 'woo_ce' ); ?></p>
|
270 |
-
<p><a href="javascript:void(0)" id="tags-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="tags-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
271 |
-
<table>
|
272 |
-
|
273 |
-
<?php foreach( $tag_fields as $tag_field ) { ?>
|
274 |
-
<tr>
|
275 |
-
<td>
|
276 |
-
<label>
|
277 |
-
<input type="checkbox" name="tag_fields[<?php echo $tag_field['name']; ?>]" class="tag_field"<?php checked( $tag_field['default'], 1 ); ?><?php disabled( $tag_field['disabled'], 1 ); ?> />
|
278 |
-
<?php echo $tag_field['label']; ?>
|
279 |
-
</label>
|
280 |
-
</td>
|
281 |
-
</tr>
|
282 |
-
|
283 |
-
<?php } ?>
|
284 |
-
</table>
|
285 |
-
<p class="submit">
|
286 |
-
<input type="submit" id="export_tags" value="<?php _e( 'Export Tags', 'woo_ce' ); ?> " class="button-primary" />
|
287 |
-
</p>
|
288 |
-
<p class="description"><?php _e( 'Can\'t find a particular Tag field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
289 |
-
</div>
|
290 |
-
<!-- .inside -->
|
291 |
-
</div>
|
292 |
-
<!-- .postbox -->
|
293 |
-
|
294 |
-
<div id="export-tags-filters" class="postbox">
|
295 |
-
<h3 class="hndle"><?php _e( 'Product Tag Filters', 'woo_ce' ); ?></h3>
|
296 |
-
<div class="inside">
|
297 |
-
|
298 |
-
<p><label><?php _e( 'Product Tag Sorting', 'woo_ce' ); ?></label></p>
|
299 |
-
<div>
|
300 |
-
<select name="tag_orderby">
|
301 |
-
<option value="id"<?php selected( 'id', $tag_orderby ); ?>><?php _e( 'Term ID', 'woo_ce' ); ?></option>
|
302 |
-
<option value="name"<?php selected( 'name', $tag_orderby ); ?>><?php _e( 'Tag Name', 'woo_ce' ); ?></option>
|
303 |
-
</select>
|
304 |
-
<select name="tag_order">
|
305 |
-
<option value="ASC"<?php selected( 'ASC', $tag_order ); ?>><?php _e( 'Ascending', 'woo_ce' ); ?></option>
|
306 |
-
<option value="DESC"<?php selected( 'DESC', $tag_order ); ?>><?php _e( 'Descending', 'woo_ce' ); ?></option>
|
307 |
-
</select>
|
308 |
-
<p class="description"><?php _e( 'Select the sorting of Product Tags within the exported file. By default this is set to export Product Tags by Term ID in Desending order.', 'woo_ce' ); ?></p>
|
309 |
-
</div>
|
310 |
-
|
311 |
-
</div>
|
312 |
-
<!-- .inside -->
|
313 |
-
</div>
|
314 |
-
<!-- #export-tags-filters -->
|
315 |
-
|
316 |
-
</div>
|
317 |
-
<!-- #export-tags -->
|
318 |
-
|
319 |
-
<?php if( $order_fields ) { ?>
|
320 |
-
<div id="export-orders">
|
321 |
-
|
322 |
-
<div class="postbox">
|
323 |
-
<h3 class="hndle"><?php _e( 'Order Fields', 'woo_ce' ); ?></h3>
|
324 |
-
<div class="inside">
|
325 |
-
|
326 |
-
<?php if( $orders ) { ?>
|
327 |
-
<p class="description"><?php _e( 'Select the Order fields you would like to export.', 'woo_ce' ); ?></p>
|
328 |
-
<p><a href="javascript:void(0)" id="orders-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="orders-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
329 |
-
<table>
|
330 |
-
|
331 |
-
<?php foreach( $order_fields as $order_field ) { ?>
|
332 |
-
<tr>
|
333 |
-
<td>
|
334 |
-
<label>
|
335 |
-
<input type="checkbox" name="order_fields[<?php echo $order_field['name']; ?>]" class="order_field"<?php checked( $order_field['default'], 1 ); ?><?php disabled( $woo_cd_exists, false ); ?> />
|
336 |
-
<?php echo $order_field['label']; ?>
|
337 |
-
</label>
|
338 |
-
</td>
|
339 |
-
</tr>
|
340 |
-
|
341 |
-
<?php } ?>
|
342 |
-
</table>
|
343 |
-
<p class="submit">
|
344 |
-
<?php if( function_exists( 'woo_cd_admin_init' ) ) { ?>
|
345 |
-
<input type="submit" id="export_orders" value="<?php _e( 'Export Orders', 'woo_ce' ); ?> " class="button-primary" />
|
346 |
-
<?php } else { ?>
|
347 |
-
<input type="button" class="button button-disabled" value="<?php _e( 'Export Orders', 'woo_ce' ); ?>" />
|
348 |
-
<?php } ?>
|
349 |
-
</p>
|
350 |
-
<p class="description"><?php _e( 'Can\'t find a particular Order field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
351 |
-
<?php } else { ?>
|
352 |
-
<p><?php _e( 'No Orders have been found.', 'woo_ce' ); ?></p>
|
353 |
-
<?php } ?>
|
354 |
-
|
355 |
-
</div>
|
356 |
-
</div>
|
357 |
-
<!-- .postbox -->
|
358 |
-
|
359 |
-
<div id="export-orders-filters" class="postbox">
|
360 |
-
<h3 class="hndle"><?php _e( 'Order Filters', 'woo_ce' ); ?></h3>
|
361 |
-
<div class="inside">
|
362 |
-
|
363 |
-
<?php do_action( 'woo_ce_export_order_options_before_table' ); ?>
|
364 |
-
|
365 |
-
<table class="form-table">
|
366 |
-
<?php do_action( 'woo_ce_export_order_options_table' ); ?>
|
367 |
-
</table>
|
368 |
-
|
369 |
-
<?php do_action( 'woo_ce_export_order_options_after_table' ); ?>
|
370 |
-
|
371 |
-
</div>
|
372 |
-
<!-- .inside -->
|
373 |
-
</div>
|
374 |
-
<!-- .postbox -->
|
375 |
-
|
376 |
-
</div>
|
377 |
-
<!-- #export-orders -->
|
378 |
-
|
379 |
-
<?php } ?>
|
380 |
-
<?php if( $customer_fields ) { ?>
|
381 |
-
<div class="postbox" id="export-customers">
|
382 |
-
<h3 class="hndle"><?php _e( 'Customer Fields', 'woo_ce' ); ?></h3>
|
383 |
-
<div class="inside">
|
384 |
-
<?php if( $customers ) { ?>
|
385 |
-
<p class="description"><?php _e( 'Select the Customer fields you would like to export.', 'woo_ce' ); ?></p>
|
386 |
-
<p><a href="javascript:void(0)" id="customers-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="customers-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
387 |
-
<table>
|
388 |
-
|
389 |
-
<?php foreach( $customer_fields as $customer_field ) { ?>
|
390 |
-
<tr>
|
391 |
-
<td>
|
392 |
-
<label>
|
393 |
-
<input type="checkbox" name="customer_fields[<?php echo $customer_field['name']; ?>]" class="customer_field"<?php checked( $customer_field['default'], 1 ); ?><?php disabled( $woo_cd_exists, false ); ?> />
|
394 |
-
<?php echo $customer_field['label']; ?>
|
395 |
-
</label>
|
396 |
-
</td>
|
397 |
-
</tr>
|
398 |
-
|
399 |
-
<?php } ?>
|
400 |
-
</table>
|
401 |
-
<p class="submit">
|
402 |
-
<?php if( function_exists( 'woo_cd_admin_init' ) ) { ?>
|
403 |
-
<input type="submit" id="export_customers" value="<?php _e( 'Export Customers', 'woo_ce' ); ?>" class="button-primary" />
|
404 |
-
<?php } else { ?>
|
405 |
-
<input type="button" class="button button-disabled" value="<?php _e( 'Export Customers', 'woo_ce' ); ?>" />
|
406 |
-
<?php } ?>
|
407 |
-
</p>
|
408 |
-
<p class="description"><?php _e( 'Can\'t find a particular Customer field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
409 |
-
<?php } else { ?>
|
410 |
-
<p><?php _e( 'No Customers have been found.', 'woo_ce' ); ?></p>
|
411 |
-
<?php } ?>
|
412 |
-
</div>
|
413 |
-
</div>
|
414 |
-
<!-- .postbox -->
|
415 |
-
|
416 |
-
<?php } ?>
|
417 |
-
<?php if( $coupon_fields ) { ?>
|
418 |
-
<div class="postbox" id="export-coupons">
|
419 |
-
<h3 class="hndle"><?php _e( 'Coupon Fields', 'woo_ce' ); ?></h3>
|
420 |
-
<div class="inside">
|
421 |
-
<?php if( $coupons ) { ?>
|
422 |
-
<p class="description"><?php _e( 'Select the Coupon fields you would like to export.', 'woo_ce' ); ?></p>
|
423 |
-
<p><a href="javascript:void(0)" id="coupons-checkall" class="checkall"><?php _e( 'Check All', 'woo_ce' ); ?></a> | <a href="javascript:void(0)" id="coupons-uncheckall" class="uncheckall"><?php _e( 'Uncheck All', 'woo_ce' ); ?></a></p>
|
424 |
-
<table>
|
425 |
-
|
426 |
-
<?php foreach( $coupon_fields as $coupon_field ) { ?>
|
427 |
-
<tr>
|
428 |
-
<td>
|
429 |
-
<label>
|
430 |
-
<input type="checkbox" name="coupon_fields[<?php echo $coupon_field['name']; ?>]" class="coupon_field"<?php checked( $coupon_field['default'], 1 ); ?><?php disabled( $woo_cd_exists, false ); ?> />
|
431 |
-
<?php echo $coupon_field['label']; ?>
|
432 |
-
</label>
|
433 |
-
</td>
|
434 |
-
</tr>
|
435 |
-
|
436 |
-
<?php } ?>
|
437 |
-
</table>
|
438 |
-
<p class="submit">
|
439 |
-
<?php if( function_exists( 'woo_cd_admin_init' ) ) { ?>
|
440 |
-
<input type="submit" id="export_coupons" value="<?php _e( 'Export Coupons', 'woo_ce' ); ?>" class="button-primary" />
|
441 |
-
<?php } else { ?>
|
442 |
-
<input type="button" class="button button-disabled" value="<?php _e( 'Export Coupons', 'woo_ce' ); ?>" />
|
443 |
-
<?php } ?>
|
444 |
-
</p>
|
445 |
-
<p class="description"><?php _e( 'Can\'t find a particular Coupon field in the above export list?', 'woo_ce' ); ?> <a href="<?php echo $troubleshooting_url; ?>" target="_blank"><?php _e( 'Get in touch', 'woo_ce' ); ?></a>.</p>
|
446 |
-
<?php } else { ?>
|
447 |
-
<p><?php _e( 'No Coupons have been found.', 'woo_ce' ); ?></p>
|
448 |
-
<?php } ?>
|
449 |
-
</div>
|
450 |
-
</div>
|
451 |
-
<!-- .postbox -->
|
452 |
-
|
453 |
-
<?php } ?>
|
454 |
-
<div class="postbox" id="export-options">
|
455 |
-
<h3 class="hndle"><?php _e( 'Export Options', 'woo_ce' ); ?></h3>
|
456 |
-
<div class="inside">
|
457 |
-
<p class="description"><?php _e( 'You can find additional export options under the Settings tab at the top of this screen.', 'woo_ce' ); ?></p>
|
458 |
-
|
459 |
-
<?php do_action( 'woo_ce_export_options_before' ); ?>
|
460 |
-
|
461 |
-
<table class="form-table">
|
462 |
-
|
463 |
-
<?php do_action( 'woo_ce_export_options' ); ?>
|
464 |
-
|
465 |
-
<tr class="export-options product-options">
|
466 |
-
<th><label for=""><?php _e( 'Up-sells formatting', 'woo_ce' ); ?></label></th>
|
467 |
-
<td>
|
468 |
-
<label><input type="radio" name="product_upsell_formatting" value="0"<?php checked( $upsell_formatting, 0 ); ?> /> <?php _e( 'Export Up-Sells as Product ID', 'woo_ce' ); ?></label><br />
|
469 |
-
<label><input type="radio" name="product_upsell_formatting" value="1"<?php checked( $upsell_formatting, 1 ); ?> /> <?php _e( 'Export Up-Sells as Product SKU', 'woo_ce' ); ?></label>
|
470 |
-
<p class="description"><?php _e( 'Choose the up-sell formatting that is accepted by your WooCommerce import Plugin (e.g. Product Importer Deluxe, Product Import Suite, etc.).', 'woo_ce' ); ?></p>
|
471 |
-
</td>
|
472 |
-
</tr>
|
473 |
-
|
474 |
-
<tr class="export-options product-options">
|
475 |
-
<th><label for=""><?php _e( 'Cross-sells formatting', 'woo_ce' ); ?></label></th>
|
476 |
-
<td>
|
477 |
-
<label><input type="radio" name="product_crosssell_formatting" value="0"<?php checked( $crosssell_formatting, 0 ); ?> /> <?php _e( 'Export Cross-Sells as Product ID', 'woo_ce' ); ?></label><br />
|
478 |
-
<label><input type="radio" name="product_crosssell_formatting" value="1"<?php checked( $crosssell_formatting, 1 ); ?> /> <?php _e( 'Export Cross-Sells as Product SKU', 'woo_ce' ); ?></label>
|
479 |
-
<p class="description"><?php _e( 'Choose the cross-sell formatting that is accepted by your WooCommerce import Plugin (e.g. Product Importer Deluxe, Product Import Suite, etc.).', 'woo_ce' ); ?></p>
|
480 |
-
</td>
|
481 |
-
</tr>
|
482 |
-
|
483 |
-
<tr>
|
484 |
-
<th>
|
485 |
-
<label for="offset"><?php _e( 'Volume offset', 'woo_ce' ); ?></label> / <label for="limit_volume"><?php _e( 'Limit volume', 'woo_ce' ); ?></label>
|
486 |
-
</th>
|
487 |
-
<td>
|
488 |
-
<input type="text" size="3" id="offset" name="offset" value="<?php echo $offset; ?>" size="5" class="text" /> <?php _e( 'to', 'woo_ce' ); ?> <input type="text" size="3" id="limit_volume" name="limit_volume" value="<?php echo $limit_volume; ?>" size="5" class="text" />
|
489 |
-
<p class="description"><?php _e( 'Volume offset and limit allows for partial exporting of an export type (e.g. records 0 to 500, etc.). This is useful when encountering timeout and/or memory errors during the a large or memory intensive export. To be used effectively both fields must be filled. By default this is not used and is left empty.', 'woo_ce' ); ?></p>
|
490 |
-
</td>
|
491 |
-
</tr>
|
492 |
-
|
493 |
-
<?php do_action( 'woo_ce_export_options_table_after' ); ?>
|
494 |
-
|
495 |
-
</table>
|
496 |
-
|
497 |
-
<?php do_action( 'woo_ce_export_options_after' ); ?>
|
498 |
-
|
499 |
-
</div>
|
500 |
-
</div>
|
501 |
-
<!-- .postbox -->
|
502 |
-
|
503 |
-
</div>
|
504 |
-
<!-- #poststuff -->
|
505 |
-
<input type="hidden" name="action" value="export" />
|
506 |
-
</form>
|
507 |
-
|
508 |
-
<?php do_action( 'woo_ce_export_after_form' ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export_overview.php
DELETED
@@ -1,85 +0,0 @@
|
|
1 |
-
<div class="overview-left">
|
2 |
-
|
3 |
-
<h3><a href="<?php echo add_query_arg( 'tab', 'export' ); ?>"><?php _e( 'Export', 'woo_ce' ); ?></a></h3>
|
4 |
-
<p><?php _e( 'Export store details out of WooCommerce into a CSV-formatted file.', 'woo_ce' ); ?></p>
|
5 |
-
<ul class="ul-disc">
|
6 |
-
<li>
|
7 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-products"><?php _e( 'Export Products', 'woo_ce' ); ?></a>
|
8 |
-
</li>
|
9 |
-
<li>
|
10 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-categories"><?php _e( 'Export Categories', 'woo_ce' ); ?></a>
|
11 |
-
</li>
|
12 |
-
<li>
|
13 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-tags"><?php _e( 'Export Tags', 'woo_ce' ); ?></a>
|
14 |
-
</li>
|
15 |
-
<li>
|
16 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-orders"><?php _e( 'Export Orders', 'woo_ce' ); ?></a>
|
17 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
18 |
-
<span class="description">(<?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?>)</span>
|
19 |
-
<?php } ?>
|
20 |
-
</li>
|
21 |
-
<li>
|
22 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-customers"><?php _e( 'Export Customers', 'woo_ce' ); ?></a>
|
23 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
24 |
-
<span class="description">(<?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?>)</span>
|
25 |
-
<?php } ?>
|
26 |
-
</li>
|
27 |
-
<li>
|
28 |
-
<a href="<?php echo add_query_arg( 'tab', 'export' ); ?>#export-coupons"><?php _e( 'Export Coupons', 'woo_ce' ); ?></a>
|
29 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
30 |
-
<span class="description">(<?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?>)</span>
|
31 |
-
<?php } ?>
|
32 |
-
</li>
|
33 |
-
</ul>
|
34 |
-
|
35 |
-
<h3><a href="<?php echo add_query_arg( 'tab', 'archive' ); ?>"><?php _e( 'Archives', 'woo_ce' ); ?></a></h3>
|
36 |
-
<p><?php _e( 'Download copies of prior store exports.', 'woo_ce' ); ?></p>
|
37 |
-
|
38 |
-
<h3><a href="<?php echo add_query_arg( 'tab', 'settings' ); ?>"><?php _e( 'Settings', 'woo_ce' ); ?></a></h3>
|
39 |
-
<p><?php _e( 'Manage CSV export options from a single detailed screen.', 'woo_ce' ); ?></p>
|
40 |
-
|
41 |
-
<h3><a href="<?php echo add_query_arg( 'tab', 'tools' ); ?>"><?php _e( 'Tools', 'woo_ce' ); ?></a></h3>
|
42 |
-
<p><?php _e( 'Export tools for WooCommerce.', 'woo_ce' ); ?></p>
|
43 |
-
|
44 |
-
<hr />
|
45 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
46 |
-
<label class="description">
|
47 |
-
<input type="checkbox" disabled="disabled" /> <?php _e( 'Jump to Export screen in the future', 'woo_ce' ); ?>
|
48 |
-
<span class="description"> - <?php printf( __( 'available in %s', 'woo_ce' ), $woo_cd_link ); ?></span>
|
49 |
-
</label>
|
50 |
-
<?php } else { ?>
|
51 |
-
<form id="skip_overview_form" method="post">
|
52 |
-
<label><input type="checkbox" id="skip_overview" name="skip_overview"<?php checked( $skip_overview ); ?> /> <?php _e( 'Jump to Export screen in the future', 'woo_ce' ); ?></label>
|
53 |
-
<input type="hidden" name="action" value="skip_overview" />
|
54 |
-
</form>
|
55 |
-
<?php } ?>
|
56 |
-
|
57 |
-
</div>
|
58 |
-
<!-- .overview-left -->
|
59 |
-
<?php if( !function_exists( 'woo_cd_admin_init' ) ) { ?>
|
60 |
-
<div class="welcome-panel overview-right">
|
61 |
-
<h3>
|
62 |
-
<!-- <span><a href="#"><attr title="<?php _e( 'Dismiss this message', 'woo_ce' ); ?>"><?php _e( 'Dismiss', 'woo_ce' ); ?></attr></a></span> -->
|
63 |
-
<?php _e( 'Upgrade to Pro', 'woo_ce' ); ?>
|
64 |
-
</h3>
|
65 |
-
<p class="clear"><?php _e( 'Upgrade to Store Exporter Deluxe to unlock business focused e-commerce features within Store Exporter, including:', 'woo_ce' ); ?></p>
|
66 |
-
<ul class="ul-disc">
|
67 |
-
<li><?php _e( 'Select export date ranges', 'woo_ce' ); ?></li>
|
68 |
-
<li><?php _e( 'Export Orders', 'woo_ce' ); ?></li>
|
69 |
-
<li><?php _e( 'Select Order fields to export', 'woo_ce' ); ?></li>
|
70 |
-
<li><?php _e( 'Export custom Order and Order Item meta', 'woo_ce' ); ?></li>
|
71 |
-
<li><?php _e( 'Export Customers', 'woo_ce' ); ?></li>
|
72 |
-
<li><?php _e( 'Select Customer fields to export', 'woo_ce' ); ?></li>
|
73 |
-
<li><?php _e( 'Export Coupons', 'woo_ce' ); ?></li>
|
74 |
-
<li><?php _e( 'Select Coupon fields to export', 'woo_ce' ); ?></li>
|
75 |
-
<li><?php _e( 'CRON / Scheduled Exports', 'woo_ce' ); ?></li>
|
76 |
-
<li><?php _e( 'Export to XML', 'woo_ce' ); ?></li>
|
77 |
-
<li><?php _e( 'Premium Support', 'woo_ce' ); ?></li>
|
78 |
-
</ul>
|
79 |
-
<p>
|
80 |
-
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button"><?php _e( 'More Features', 'woo_ce' ); ?></a>
|
81 |
-
<a href="<?php echo $woo_cd_url; ?>" target="_blank" class="button button-primary"><?php _e( 'Buy Now', 'woo_ce' ); ?></a>
|
82 |
-
</p>
|
83 |
-
</div>
|
84 |
-
<!-- .overview-right -->
|
85 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export_settings.php
DELETED
@@ -1,153 +0,0 @@
|
|
1 |
-
<ul class="subsubsub">
|
2 |
-
<li><a href="#general-settings"><?php _e( 'General Settings', 'woo_ce' ); ?></a> |</li>
|
3 |
-
<li><a href="#csv-settings"><?php _e( 'CSV Settings', 'woo_ce' ); ?></a></li>
|
4 |
-
<?php do_action( 'woo_ce_export_settings_top' ); ?>
|
5 |
-
</ul>
|
6 |
-
<!-- .subsubsub -->
|
7 |
-
<form method="post">
|
8 |
-
<table class="form-table">
|
9 |
-
<tbody>
|
10 |
-
|
11 |
-
<?php do_action( 'woo_ce_export_settings_before' ); ?>
|
12 |
-
|
13 |
-
<tr id="general-settings">
|
14 |
-
<td colspan="2" style="padding:0;">
|
15 |
-
<h3><?php _e( 'General Settings', 'woo_ce' ); ?></h3>
|
16 |
-
</td>
|
17 |
-
</tr>
|
18 |
-
|
19 |
-
<tr valign="top">
|
20 |
-
<th scope="row"><label for="export_filename"><?php _e( 'Export filename', 'woo_ce' ); ?></label></th>
|
21 |
-
<td>
|
22 |
-
<input name="export_filename" type="text" id="export_filename" value="<?php echo $export_filename; ?>" class="regular-text code" />
|
23 |
-
<p class="description"><?php _e( 'The filename of the exported export type. Tags can be used: ', 'woo_ce' ); ?> <code>%dataset%</code>, <code>%date%</code>, <code>%time%</code>, <code>%store_name%</code>.</p>
|
24 |
-
</td>
|
25 |
-
</tr>
|
26 |
-
|
27 |
-
<tr>
|
28 |
-
<th>
|
29 |
-
<label for="delete_temporary_csv"><?php _e( 'Enable archives', 'woo_ce' ); ?></label>
|
30 |
-
</th>
|
31 |
-
<td>
|
32 |
-
<select id="delete_temporary_csv" name="delete_temporary_csv">
|
33 |
-
<option value="0"<?php selected( $delete_csv, 0 ); ?>><?php _e( 'Yes', 'woo_ce' ); ?></option>
|
34 |
-
<option value="1"<?php selected( $delete_csv, 1 ); ?>><?php _e( 'No', 'woo_ce' ); ?></option>
|
35 |
-
</select>
|
36 |
-
<p class="description"><?php _e( 'Save copies of CSV exports to the WordPress Media for downloading later. By default this option is turned on.', 'woo_ce' ); ?></p>
|
37 |
-
</td>
|
38 |
-
</tr>
|
39 |
-
|
40 |
-
<tr>
|
41 |
-
<th>
|
42 |
-
<label for="encoding"><?php _e( 'Character encoding', 'woo_ce' ); ?></label>
|
43 |
-
</th>
|
44 |
-
<td>
|
45 |
-
<?php if( $file_encodings ) { ?>
|
46 |
-
<select id="encoding" name="encoding">
|
47 |
-
<option value=""><?php _e( 'System default', 'woo_ce' ); ?></option>
|
48 |
-
<?php foreach( $file_encodings as $key => $chr ) { ?>
|
49 |
-
<option value="<?php echo $chr; ?>"<?php selected( $chr, $encoding ); ?>><?php echo $chr; ?></option>
|
50 |
-
<?php } ?>
|
51 |
-
</select>
|
52 |
-
<?php } else { ?>
|
53 |
-
<p class="description"><?php _e( 'Character encoding options are unavailable in PHP 4, contact your hosting provider to update your site install to use PHP 5 or higher.', 'woo_ce' ); ?></p>
|
54 |
-
<?php } ?>
|
55 |
-
</td>
|
56 |
-
</tr>
|
57 |
-
|
58 |
-
<tr>
|
59 |
-
<th><?php _e( 'Date format', 'woo_ce' ); ?></th>
|
60 |
-
<td>
|
61 |
-
<fieldset>
|
62 |
-
<label title="F j, Y"><input type="radio" name="date_format" value="F j, Y"<?php checked( $date_format, 'F j, Y' ); ?>> <span><?php echo date( 'F j, Y' ); ?></span></label><br>
|
63 |
-
<label title="Y/m/d"><input type="radio" name="date_format" value="Y/m/d"<?php checked( $date_format, 'Y/m/d' ); ?>> <span><?php echo date( 'Y/m/d' ); ?></span></label><br>
|
64 |
-
<label title="m/d/Y"><input type="radio" name="date_format" value="m/d/Y"<?php checked( $date_format, 'm/d/Y' ); ?>> <span><?php echo date( 'm/d/Y' ); ?></span></label><br>
|
65 |
-
<label title="d/m/Y"><input type="radio" name="date_format" value="d/m/Y"<?php checked( $date_format, 'd/m/Y' ); ?>> <span><?php echo date( 'd/m/Y' ); ?></span></label><br>
|
66 |
-
<!--
|
67 |
-
<label><input type="radio" name="date_format" id="date_format_custom_radio" value="\c\u\s\t\o\m"> Custom: </label><input type="text" name="date_format_custom" value="F j, Y" class="small-text"> <span class="example"> January 6, 2014</span> <span class="spinner"></span>
|
68 |
-
<p><a href="http://codex.wordpress.org/Formatting_Date_and_Time"><?php _e( 'Documentation on date and time formatting', 'woo_ce' ); ?></a>.</p>
|
69 |
-
-->
|
70 |
-
</fieldset>
|
71 |
-
<p class="description"><?php _e( 'The date format option affects how date\'s are presented within your CSV file. Default is set to DD/MM/YYYY.', 'woo_ce' ); ?></p>
|
72 |
-
</td>
|
73 |
-
</tr>
|
74 |
-
|
75 |
-
<?php if( !ini_get( 'safe_mode' ) ) { ?>
|
76 |
-
<tr>
|
77 |
-
<th>
|
78 |
-
<label for="timeout"><?php _e( 'Script timeout', 'woo_ce' ); ?></label>
|
79 |
-
</th>
|
80 |
-
<td>
|
81 |
-
<select id="timeout" name="timeout">
|
82 |
-
<option value="600"<?php selected( $timeout, 600 ); ?>><?php printf( __( '%s minutes', 'woo_ce' ), 10 ); ?></option>
|
83 |
-
<option value="1800"<?php selected( $timeout, 1800 ); ?>><?php printf( __( '%s minutes', 'woo_ce' ), 30 ); ?></option>
|
84 |
-
<option value="3600"<?php selected( $timeout, 3600 ); ?>><?php printf( __( '%s hour', 'woo_ce' ), 1 ); ?></option>
|
85 |
-
<option value="0"<?php selected( $timeout, 0 ); ?>><?php _e( 'Unlimited', 'woo_ce' ); ?></option>
|
86 |
-
</select>
|
87 |
-
<p class="description"><?php _e( 'Script timeout defines how long Store Exporter is \'allowed\' to process your CSV file, once the time limit is reached the export process halts.', 'woo_ce' ); ?></p>
|
88 |
-
</td>
|
89 |
-
</tr>
|
90 |
-
<?php } ?>
|
91 |
-
|
92 |
-
<tr id="csv-settings">
|
93 |
-
<td colspan="2" style="padding:0;">
|
94 |
-
<hr />
|
95 |
-
<h3><?php _e( 'CSV Settings', 'woo_ce' ); ?></h3>
|
96 |
-
</td>
|
97 |
-
</tr>
|
98 |
-
|
99 |
-
<tr>
|
100 |
-
<th>
|
101 |
-
<label for="delimiter"><?php _e( 'Field delimiter', 'woo_ce' ); ?></label>
|
102 |
-
</th>
|
103 |
-
<td>
|
104 |
-
<input type="text" size="3" id="delimiter" name="delimiter" value="<?php echo $delimiter; ?>" maxlength="1" class="text" />
|
105 |
-
<p class="description"><?php _e( 'The field delimiter is the character separating each cell in your CSV. This is typically the \',\' (comma) character.', 'woo_pc' ); ?></p>
|
106 |
-
</td>
|
107 |
-
</tr>
|
108 |
-
|
109 |
-
<tr>
|
110 |
-
<th>
|
111 |
-
<label for="category_separator"><?php _e( 'Category separator', 'woo_ce' ); ?></label>
|
112 |
-
</th>
|
113 |
-
<td>
|
114 |
-
<input type="text" size="3" id="category_separator" name="category_separator" value="<?php echo $category_separator; ?>" maxlength="1" class="text" />
|
115 |
-
<p class="description"><?php _e( 'The Product Category separator allows you to assign individual Products to multiple Product Categories/Tags/Images at a time. It is suggested to use the \'|\' (vertical pipe) character between each item. For instance: <code>Clothing|Mens|Shirts</code>.', 'woo_ce' ); ?></p>
|
116 |
-
</td>
|
117 |
-
</tr>
|
118 |
-
|
119 |
-
<tr>
|
120 |
-
<th>
|
121 |
-
<label for="bom"><?php _e( 'Add BOM character', 'woo_ce' ); ?></label>
|
122 |
-
</th>
|
123 |
-
<td>
|
124 |
-
<select id="bom" name="bom">
|
125 |
-
<option value="1"<?php selected( $bom, 1 ); ?>><?php _e( 'Yes', 'woo_ce' ); ?></option>
|
126 |
-
<option value="0"<?php selected( $bom, 0 ); ?>><?php _e( 'No', 'woo_ce' ); ?></option>
|
127 |
-
</select>
|
128 |
-
<p class="description"><?php _e( 'Mark the CSV file as UTF8 by adding a byte order mark (BOM) to the export, useful for non-English character sets.', 'woo_ce' ); ?></p>
|
129 |
-
</td>
|
130 |
-
</tr>
|
131 |
-
|
132 |
-
<tr>
|
133 |
-
<th>
|
134 |
-
<label for="escape_formatting"><?php _e( 'Field escape formatting', 'woo_ce' ); ?></label>
|
135 |
-
</th>
|
136 |
-
<td>
|
137 |
-
<label><input type="radio" name="escape_formatting" value="all"<?php checked( $escape_formatting, 'all' ); ?> /> <?php _e( 'Escape all fields', 'woo_ce' ); ?></label><br />
|
138 |
-
<label><input type="radio" name="escape_formatting" value="excel"<?php checked( $escape_formatting, 'excel' ); ?> /> <?php _e( 'Escape fields as Excel would', 'woo_ce' ); ?></label>
|
139 |
-
<p class="description"><?php _e( 'Choose the field escape format that suits your spreadsheet software (e.g. Excel).', 'woo_ce' ); ?></p>
|
140 |
-
</td>
|
141 |
-
</tr>
|
142 |
-
|
143 |
-
<?php do_action( 'woo_ce_export_settings_after' ); ?>
|
144 |
-
|
145 |
-
</tbody>
|
146 |
-
</table>
|
147 |
-
<p class="submit">
|
148 |
-
<input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e( 'Save Changes', 'woo_ce' ); ?>" />
|
149 |
-
</p>
|
150 |
-
|
151 |
-
<input type="hidden" name="action" value="save" />
|
152 |
-
</form>
|
153 |
-
<?php do_action( 'woo_ce_export_settings_bottom' ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-export_tools.php
DELETED
@@ -1,22 +0,0 @@
|
|
1 |
-
<h3><?php _e( 'WooCommerce Tools', 'woo_ce' ); ?></h3>
|
2 |
-
<div id="poststuff">
|
3 |
-
|
4 |
-
<div class="postbox">
|
5 |
-
<h3 class="hndle"><?php _e( 'Tools', 'woo_pd' ); ?></h3>
|
6 |
-
<div class="inside">
|
7 |
-
<table class="form-table">
|
8 |
-
|
9 |
-
<tr>
|
10 |
-
<td>
|
11 |
-
<a href="<?php echo $woo_pd_url; ?>"<?php echo $woo_pd_target; ?>><?php _e( 'Import Products from CSV', 'woo_ce' ); ?></a>
|
12 |
-
<p class="description"><?php _e( 'Use Product Importer Deluxe to import Product changes back into your store.', 'woo_ce' ); ?></p>
|
13 |
-
</td>
|
14 |
-
</tr>
|
15 |
-
|
16 |
-
</table>
|
17 |
-
</div>
|
18 |
-
</div>
|
19 |
-
<!-- .postbox -->
|
20 |
-
|
21 |
-
</div>
|
22 |
-
<!-- #poststuff -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-media_csv_file.php
DELETED
@@ -1,12 +0,0 @@
|
|
1 |
-
<div class="postbox-container">
|
2 |
-
<div class="postbox">
|
3 |
-
<h3 class="hndle"><?php _e( 'CSV File', 'woo_ce' ); ?></h3>
|
4 |
-
<div class="inside">
|
5 |
-
<textarea style="font:12px Consolas, Monaco, Courier, monospace; width:100%; height:200px;"><?php echo $contents; ?></textarea>
|
6 |
-
</div>
|
7 |
-
<!-- .inside -->
|
8 |
-
</div>
|
9 |
-
<!-- .postbox -->
|
10 |
-
|
11 |
-
</div>
|
12 |
-
<!-- .postbox-container -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
templates/admin/woo-admin_ce-media_export_details.php
DELETED
@@ -1,54 +0,0 @@
|
|
1 |
-
<table class="widefat" style="font-family:monospace;">
|
2 |
-
<thead>
|
3 |
-
|
4 |
-
<tr>
|
5 |
-
<th colspan="2"><?php _e( 'Export Details', 'woo_ce' ); ?></th>
|
6 |
-
</tr>
|
7 |
-
|
8 |
-
</thead>
|
9 |
-
<tbody>
|
10 |
-
|
11 |
-
<tr>
|
12 |
-
<th style="width:20%;"><?php _e( 'Export type', 'woo_ce' ); ?></th>
|
13 |
-
<td><?php echo woo_ce_export_type_label( $export_type ); ?></td>
|
14 |
-
</tr>
|
15 |
-
<tr>
|
16 |
-
<th><?php _e( 'Filepath', 'woo_ce' ); ?></th>
|
17 |
-
<td><?php echo $filepath; ?></td>
|
18 |
-
</tr>
|
19 |
-
<tr>
|
20 |
-
<th><?php _e( 'Total columns', 'woo_ce' ); ?></th>
|
21 |
-
<td><?php echo ( ( $columns != false ) ? $columns : '-' ); ?></td>
|
22 |
-
</tr>
|
23 |
-
<tr>
|
24 |
-
<th><?php _e( 'Total rows', 'woo_ce' ); ?></th>
|
25 |
-
<td><?php echo ( ( $rows != false ) ? $rows : '-' ); ?></td>
|
26 |
-
</tr>
|
27 |
-
<tr>
|
28 |
-
<th><?php _e( 'Process time', 'woo_ce' ); ?></th>
|
29 |
-
<td><?php echo ( ( ( $start_time != false ) && ( $end_time != false ) ) ? woo_ce_display_time_elapsed( $start_time, $end_time ) : '-' ); ?></td>
|
30 |
-
</tr>
|
31 |
-
<tr>
|
32 |
-
<th><?php _e( 'Idle memory usage (start)', 'woo_ce' ); ?></th>
|
33 |
-
<td><?php echo ( ( $idle_memory_start != false ) ? woo_ce_display_memory( $idle_memory_start ) : '-' ); ?></td>
|
34 |
-
</tr>
|
35 |
-
<tr>
|
36 |
-
<th><?php _e( 'Memory usage prior to loading export type', 'woo_ce' ); ?></th>
|
37 |
-
<td><?php echo ( ( $data_memory_start != false ) ? woo_ce_display_memory( $data_memory_start ) : '-' ); ?></td>
|
38 |
-
</tr>
|
39 |
-
<tr>
|
40 |
-
<th><?php _e( 'Memory usage after loading export type', 'woo_ce' ); ?></th>
|
41 |
-
<td><?php echo ( ( $data_memory_end != false ) ? woo_ce_display_memory( $data_memory_end ) : '-' ); ?></td>
|
42 |
-
</tr>
|
43 |
-
<tr>
|
44 |
-
<th><?php _e( 'Memory usage at render time', 'woo_ce' ); ?></th>
|
45 |
-
<td>-</td>
|
46 |
-
</tr>
|
47 |
-
<tr>
|
48 |
-
<th><?php _e( 'Idle memory usage (end)', 'woo_ce' ); ?></th>
|
49 |
-
<td><?php echo ( ( $idle_memory_end != false ) ? woo_ce_display_memory( $idle_memory_end ) : '-' ); ?></td>
|
50 |
-
</tr>
|
51 |
-
|
52 |
-
</tbody>
|
53 |
-
</table>
|
54 |
-
<br />
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|