Product Import Export for WooCommerce - Version 1.5.3

Version Description

  • Updates: Tested OK with WP 5.0.3 and WC 3.5.3
  • Bug Fix:- Image Thumbnail Regeneration error reporting.
  • Content Update.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Product Import Export for WooCommerce
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

includes/importer/class-wf-prodimpexpcsv-product-import.php CHANGED
@@ -279,6 +279,7 @@ class WF_ProdImpExpCsv_Product_Import extends WP_Importer {
279
 
280
  var data = rows.shift();
281
  var regen_count = 0;
 
282
  import_rows( data[0], data[1] );
283
 
284
  $('body').on( 'woocommerce_csv_import_request_complete', function() {
@@ -316,22 +317,36 @@ class WF_ProdImpExpCsv_Product_Import extends WP_Importer {
316
  url: ajaxurl,
317
  data: { action: "woocommerce_csv_import_regenerate_thumbnail", id: id },
318
  success: function( response ) {
 
319
  if ( response !== Object( response ) || ( typeof response.success === "undefined" && typeof response.error === "undefined" ) ) {
320
  response = new Object;
321
  response.success = false;
322
  response.error = "<?php printf( esc_js( __( 'The resize request was abnormally terminated (ID %s). This is likely due to the image exceeding available memory or some other type of fatal error.', 'wf_csv_import_export' ) ), '" + id + "' ); ?>";
323
  }
324
 
325
- regen_count ++;
326
-
327
- $('#import-progress tbody .regenerating .progress').css( 'width', ( ( regen_count / attachments.length ) * 100 ) + '%' ).html( regen_count + ' / ' + attachments.length + ' <?php echo esc_js( __( 'thumbnails regenerated', 'wf_csv_import_export' ) ); ?>' );
328
-
329
- if ( ! response.success ) {
330
- $('#import-progress tbody').append( '<tr><td colspan="5">' + response.error + '</td></tr>' );
331
- }
 
 
 
 
 
 
 
 
 
332
  },
333
  error: function( response ) {
334
- $('#import-progress tbody').append( '<tr><td colspan="5">' + response.error + '</td></tr>' );
 
 
 
 
335
  }
336
  });
337
  }
279
 
280
  var data = rows.shift();
281
  var regen_count = 0;
282
+ var failed_regen_count = 0;
283
  import_rows( data[0], data[1] );
284
 
285
  $('body').on( 'woocommerce_csv_import_request_complete', function() {
317
  url: ajaxurl,
318
  data: { action: "woocommerce_csv_import_regenerate_thumbnail", id: id },
319
  success: function( response ) {
320
+ //console.log('On Success:-'+JSON.stringify(response, null, 4));
321
  if ( response !== Object( response ) || ( typeof response.success === "undefined" && typeof response.error === "undefined" ) ) {
322
  response = new Object;
323
  response.success = false;
324
  response.error = "<?php printf( esc_js( __( 'The resize request was abnormally terminated (ID %s). This is likely due to the image exceeding available memory or some other type of fatal error.', 'wf_csv_import_export' ) ), '" + id + "' ); ?>";
325
  }
326
 
327
+ //regen_count ++;
328
+ if (! response.error) {
329
+ regen_count ++;
330
+ }
331
+ if (! response.success) {
332
+ failed_regen_count++;
333
+ }
334
+
335
+
336
+ all_regen_count = failed_regen_count + regen_count;
337
+ $('#import-progress tbody .regenerating .progress').css( 'width', ( ( all_regen_count / attachments.length ) * 100 ) + '%' ).html( regen_count + ' / ' + attachments.length + ' <?php echo esc_js(__('thumbnails regenerated.', 'wf_csv_import_export')); ?>' );
338
+ //$('#import-progress tbody .regenerating .progress').css( 'width', ( ( regen_count / attachments.length ) * 100 ) + '%' ).html( regen_count + ' / ' + attachments.length + ' <?php //echo esc_js( __( 'thumbnails regenerated', 'wf_csv_import_export' ) ); ?>' );
339
+
340
+ // if ( ! response.success ) {
341
+ // $('#import-progress tbody').append( '<tr><td colspan="5">' + response.error + '</td></tr>' );
342
+ // }
343
  },
344
  error: function( response ) {
345
+ //console.log('On Error:-'+JSON.stringify(response, null, 4));
346
+ failed_regen_count++;
347
+ all_regen_count = failed_regen_count + regen_count;
348
+ $('#import-progress tbody .regenerating .progress').css( 'width', ( ( all_regen_count / attachments.length ) * 100 ) + '%' ).html( regen_count + ' / ' + attachments.length + ' <?php echo esc_js(__('thumbnails regenerated.', 'wf_csv_import_export')); ?>' );
349
+ //$('#import-progress tbody').append( '<tr><td colspan="5">' + response.error + '</td></tr>' );
350
  }
351
  });
352
  }
includes/views/market.php CHANGED
@@ -14,28 +14,31 @@ if ( ! defined( 'ABSPATH' ) ) {
14
  ?>
15
  </div>
16
  <div class="pipe-premium-features">
17
- <center><a href="https://www.webtoffee.com/product/product-import-export-woocommerce/" target="_blank" class="button button-primary button-go-pro"><?php _e('Upgrade to Premium Version', 'wf_csv_import_export'); ?></a></center>
18
- <span>
19
- <ul>
20
- <li><?php _e('Export simple, group, external and variation products.', 'wf_csv_import_export');?></li>
21
- <li><?php _e('Import simple, group, external and variation products.', 'wf_csv_import_export');?></li>
 
 
 
 
 
22
  <li><?php _e('Export products by category.', 'wf_csv_import_export');?></li>
 
23
  <li><?php _e('Various filter options for exporting products.', 'wf_csv_import_export');?> </li>
24
- <li><?php _e('Map and transform fields while importing products.', 'wf_csv_import_export');?></li>
25
- <li><?php _e('Change values while importing products using evaluation fields.', 'wf_csv_import_export');?></li>
26
  <li><?php _e('Choice to update or skip existing imported products.', 'wf_csv_import_export');?></li>
27
- <li><?php _e('WPML supported. French and German support out of the box.', 'wf_csv_import_export');?></li>
28
  <li><?php _e('Import/Export file via FTP.', 'wf_csv_import_export');?></li>
29
  <li><?php _e('Import from URL.', 'wf_csv_import_export');?></li>
30
  <li><?php _e('Automatic scheduled import and export.', 'wf_csv_import_export');?></li>
31
  <li><?php _e('Supports product reviews export and import.', 'wf_csv_import_export');?></li>
32
- <li><?php _e('30 Days Money Back Guarantee.', 'wf_csv_import_export');?></li>
33
- <li><?php _e('More frequent plugin updates.', 'wf_csv_import_export');?></li>
34
- <li><?php _e('Excellent Support for setting it up!', 'wf_csv_import_export');?></li>
35
  </ul>
36
  </span>
37
  <center>
38
- <a href="http://productimportexport.webtoffee.com/" target="_blank" class="button button-doc-demo"><?php _e('Live Demo', 'wf_csv_import_export'); ?></a>
39
  <a href="https://www.webtoffee.com/category/documentation/product-import-export-plugin-for-woocommerce/" target="_blank" class="button button-doc-demo"><?php _e('Documentation', 'wf_csv_import_export'); ?></a></center>
40
  </div>
41
 
14
  ?>
15
  </div>
16
  <div class="pipe-premium-features">
17
+ <ul style="font-weight: bold; color:#666; list-style: none; background:#f8f8f8; padding:20px; margin:20px 15px; font-size: 15px; line-height: 26px;">
18
+ <li style=""><?php echo __('30 Day Money Back Guarantee','cookie-law-info'); ?></li>
19
+ <li style=""><?php echo __('Fast and Superior Support','cookie-law-info'); ?></li>
20
+ <li style="">
21
+ <a href="https://www.webtoffee.com/product/product-import-export-woocommerce/" target="_blank" class="button button-primary button-go-pro"><?php _e('Upgrade to Premium', 'wf_csv_import_export'); ?></a>
22
+ </li>
23
+ </ul>
24
+ <span>
25
+ <ul class="ticked-list">
26
+ <li><?php _e('Export/Import simple, group, external and variation products.', 'wf_csv_import_export');?></li>
27
  <li><?php _e('Export products by category.', 'wf_csv_import_export');?></li>
28
+ <li><?php _e('Import/Export product reviews.', 'wf_csv_import_export');?></li>
29
  <li><?php _e('Various filter options for exporting products.', 'wf_csv_import_export');?> </li>
30
+ <li><?php _e('Map and transform fields during import.', 'wf_csv_import_export');?></li>
31
+ <li><?php _e('Manipulate/evaluate data during import.', 'wf_csv_import_export');?></li>
32
  <li><?php _e('Choice to update or skip existing imported products.', 'wf_csv_import_export');?></li>
33
+ <li><?php _e('WPML support for simple products.', 'wf_csv_import_export');?></li>
34
  <li><?php _e('Import/Export file via FTP.', 'wf_csv_import_export');?></li>
35
  <li><?php _e('Import from URL.', 'wf_csv_import_export');?></li>
36
  <li><?php _e('Automatic scheduled import and export.', 'wf_csv_import_export');?></li>
37
  <li><?php _e('Supports product reviews export and import.', 'wf_csv_import_export');?></li>
38
+ <li><?php _e('Third party plugin customization support.', 'wf_csv_import_export');?></li>
 
 
39
  </ul>
40
  </span>
41
  <center>
 
42
  <a href="https://www.webtoffee.com/category/documentation/product-import-export-plugin-for-woocommerce/" target="_blank" class="button button-doc-demo"><?php _e('Documentation', 'wf_csv_import_export'); ?></a></center>
43
  </div>
44
 
product-csv-import-export.php CHANGED
@@ -5,8 +5,8 @@
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
- Version: 1.5.2
9
- WC tested up to: 3.5.2
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: wf_csv_import_export
@@ -18,7 +18,7 @@ if (!defined('ABSPATH') || !is_admin()) {
18
 
19
 
20
  if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
- define("WF_PIPE_CURRENT_VERSION", "1.5.2");
22
  }
23
  if (!defined('WF_PROD_IMP_EXP_ID')) {
24
  define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
+ Version: 1.5.3
9
+ WC tested up to: 3.5.3
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: wf_csv_import_export
18
 
19
 
20
  if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
+ define("WF_PIPE_CURRENT_VERSION", "1.5.3");
22
  }
23
  if (!defined('WF_PROD_IMP_EXP_ID')) {
24
  define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webtoffee
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce
5
  Requires at least: 3.0.1
6
- Tested up to: 5.0.2
7
- Stable tag: 1.5.2
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -20,7 +20,7 @@ Are you trying to import products into WooCommerce store or export WooCommerce p
20
 
21
  &#128312; Export Simple Products in to a CSV file.
22
  &#128312; Import Simple Products in CSV format in to WooCommerce Store.
23
- &#128312; Tested OK with WooCommerce 3.5.2.
24
 
25
 
26
  Highlights: WooCommerce Product Export, WooCommerce Product CSV Import Suite, WooCommerce bulk product upload, WooCommerce import products with images, import amazon products to WooCommerce, Export Products to xls. Pro Version supports both Simple and Variable products.
@@ -40,19 +40,19 @@ You can create the CSV from scratch or you can export the product to get the for
40
  Product Import Export Plugin for WooCommerce is the leading tool for Woocommerce product export and WooCommerce product import. Some of the major features are listed below
41
 
42
  <ul>
43
- <li> &#9989; Export WooCommerce Products (Simple, Group, External and Variations) in to a CSV file.</li>
44
- <li> &#9989; Import Products in to WooCommerce (Simple, Group, External and Variations) in CSV format in to WooComemrce Store.</li>
45
- <li> &#9989; Export WooCommerce Products by Category.</li>
46
- <li> &#9989; Various Filter options for exporting WooCommerce Products. </li>
47
- <li> &#9989; Map and Transform fields while Importing WooCommerce Products.</li>
48
- <li> &#9989; Change values while importing WooCommerce products using Evaluation Fields.</li>
49
  <li> &#9989; Choice to Update or Skip existing imported products. </li>
50
- <li> &#9989; WPML Supported. French and German (Deutschland) language support Out of the Box.</li>
51
- <li> &#9989; Import/Export file from/to a remote server via FTP.</li>
52
- <li> &#9989; Import Product CSV from a remote server via URL.</li>
53
- <li> &#9989; Automatic scheduled Import/Export.</li>
54
- <li> &#9989; Supports Product Reviews Export Import.</li>
55
- <li> &#9989; Excellent Support for setting it up!</li>
56
  </ul>
57
 
58
  Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/product-import-export-woocommerce/">Product Import Export Plugin for WooCommerce</a> for more details
@@ -149,6 +149,11 @@ LibreOffice.
149
 
150
  == Changelog ==
151
 
 
 
 
 
 
152
  = 1.5.2 =
153
  * Updates: Tested OK with WP 5.0.2 and WC 3.5.2
154
  * Optimized product image import.
@@ -274,6 +279,7 @@ LibreOffice.
274
 
275
  == Upgrade Notice ==
276
 
277
- = 1.5.2 =
278
- * Updates: Tested OK with WP 5.0.2 and WC 3.5.2
279
- * Optimized product image import.
 
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.0.3
7
+ Stable tag: 1.5.3
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
20
 
21
  &#128312; Export Simple Products in to a CSV file.
22
  &#128312; Import Simple Products in CSV format in to WooCommerce Store.
23
+ &#128312; Tested OK with WooCommerce 3.5.3.
24
 
25
 
26
  Highlights: WooCommerce Product Export, WooCommerce Product CSV Import Suite, WooCommerce bulk product upload, WooCommerce import products with images, import amazon products to WooCommerce, Export Products to xls. Pro Version supports both Simple and Variable products.
40
  Product Import Export Plugin for WooCommerce is the leading tool for Woocommerce product export and WooCommerce product import. Some of the major features are listed below
41
 
42
  <ul>
43
+ <li> &#9989; Export/Import simple, group, external and variation products.</li>
44
+ <li> &#9989; Export products by category.</li>
45
+ <li> &#9989; Import/Export product reviews..</li>
46
+ <li> &#9989; Various filter options for exporting products. </li>
47
+ <li> &#9989; Map and transform fields during import.</li>
48
+ <li> &#9989; Manipulate/evaluate data during import.</li>
49
  <li> &#9989; Choice to Update or Skip existing imported products. </li>
50
+ <li> &#9989; WPML support for simple products.</li>
51
+ <li> &#9989; Import/Export file via FTP.</li>
52
+ <li> &#9989; Import from URL.</li>
53
+ <li> &#9989; Automatic scheduled import and export.</li>
54
+ <li> &#9989; Supports product reviews export and import.</li>
55
+ <li> &#9989; Third party plugin customization support.</li>
56
  </ul>
57
 
58
  Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/product-import-export-woocommerce/">Product Import Export Plugin for WooCommerce</a> for more details
149
 
150
  == Changelog ==
151
 
152
+ = 1.5.3 =
153
+ * Updates: Tested OK with WP 5.0.3 and WC 3.5.3
154
+ * Bug Fix:- Image Thumbnail Regeneration error reporting.
155
+ * Content Update.
156
+
157
  = 1.5.2 =
158
  * Updates: Tested OK with WP 5.0.2 and WC 3.5.2
159
  * Optimized product image import.
279
 
280
  == Upgrade Notice ==
281
 
282
+ = 1.5.3 =
283
+ * Updates: Tested OK with WP 5.0.3 and WC 3.5.3
284
+ * Bug Fix:- Image Thumbnail Regeneration error reporting.
285
+ * Content Update.
styles/wf-style.css CHANGED
@@ -156,16 +156,17 @@
156
  .pipe-premium-features{
157
  background: #fff;
158
  padding:5px;
 
159
  }
160
  .pipe-premium-features ul {
161
  padding-left: 20px;
162
  padding-right: 20px;
163
  }
164
- .pipe-premium-features li {
165
  margin-bottom: 15px;
166
  padding-left: 15px;
167
  }
168
- .pipe-premium-features li:before
169
  {
170
  font-family: dashicons;
171
  text-decoration: inherit;
@@ -179,20 +180,18 @@
179
  font-size: 16px;
180
  color: #3085bb;
181
  }
182
- .pipe-premium-features .button {
183
- margin-bottom: 20px;
184
- }
185
  .pipe-premium-features .button-go-pro {
186
  box-shadow: none;
187
  border: 0;
188
  text-shadow: none;
189
  padding: 10px 15px;
190
  height: auto;
191
- font-size: 18px;
192
  border-radius: 4px;
193
- font-weight: 600;
194
  background: #00cb95;
195
- margin-top: 20px;
196
  }
197
  .pipe-premium-features .button-go-pro:hover,
198
  .pipe-premium-features .button-go-pro:focus,
156
  .pipe-premium-features{
157
  background: #fff;
158
  padding:5px;
159
+ padding-bottom: 20px;
160
  }
161
  .pipe-premium-features ul {
162
  padding-left: 20px;
163
  padding-right: 20px;
164
  }
165
+ .pipe-premium-features .ticked-list li {
166
  margin-bottom: 15px;
167
  padding-left: 15px;
168
  }
169
+ .pipe-premium-features .ticked-list li:before
170
  {
171
  font-family: dashicons;
172
  text-decoration: inherit;
180
  font-size: 16px;
181
  color: #3085bb;
182
  }
183
+
 
 
184
  .pipe-premium-features .button-go-pro {
185
  box-shadow: none;
186
  border: 0;
187
  text-shadow: none;
188
  padding: 10px 15px;
189
  height: auto;
190
+ font-size: 16px;
191
  border-radius: 4px;
192
+ font-weight: 400;
193
  background: #00cb95;
194
+ margin-top: 5px;
195
  }
196
  .pipe-premium-features .button-go-pro:hover,
197
  .pipe-premium-features .button-go-pro:focus,