Product Import Export for WooCommerce - Version 1.1.5

Version Description

  • Bug fix: Improved parsing.
Download this release

Release Info

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

Code changes from version 1.1.4 to 1.1.5

Product_Sample_CSV.csv ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
1
+ Parent SKU,SKU,Product Name,Short Description,Description,Regular Price,Sale Price,Weight,Images,Product Type,Prodcut Categories,Product Tags,meta:attribute_pa_color,attribute:pa_care-instructions,attribute_data:pa_care-instructions,attribute:pa_color,attribute_data:pa_color,attribute_default:pa_color,attribute:pa_fabric,attribute_data:pa_fabric,attribute:pa_fitting-type,attribute_data:pa_fitting-type
2
+ ,A11,Samsung Galaxy Ace Duos,"-5 MP Primary Camera
3
+ -3.5 inch Capacitive Touchscreen
4
+ -Wi-Fi Enabled
5
+ ","Having a much vaunted reputation of being one of the world’s leading budget smartphone makers, the Samsung Galaxy Ace Duos S6802 does quite well to maintain Samsung’s authority in the current market. The device comes in a bar shape and has a sleek look to it. The Ace Duos S6802 is a Smart Dual Active SIM, (GSM + GSM) device with both the inserted SIM cards being active at the same time. If you are on a call on sim 1 and you get a call on sim 2, the call would be diverted to sim 1 and the display would show it as call waiting.The same will be apply for both the Sims. So that we cannot miss out any calls on sim 1 and sim 2. This Samsung phone is run on the Android v2.3 (Gingerbread) OS with a snappy processor speed of 832 MHz. To assure the smooth running of apps, the device comes with an adequate 512 MB of RAM.",29.99,11.52,0.5,http://productimportexport.hikeforce.com/wp-content/uploads/2016/08/hikeforce-mobile.jpg | http://productimportexport.hikeforce.com/wp-content/uploads/2016/08/hikeforce-mobile-2.jpg,simple,Mobile Phone,Smart Phone,,,,,,,,,,
6
+ ,B11,Men's Cotton T-Shirt,The images represent actual product though color of the image and product may slightly differ.,Strut on the streets in comfort adorning this slim-fit T-Shirt from the house of Tinted. This unique creation is made using rayon that will highlight your torso. Work hard and play hard as you party through the night in this utterly comfortable T-Shirt.,10,,1,http://productimportexport.hikeforce.com/wp-content/uploads/2016/08/hikeforce-men-t-shirt-red.png,variable,Clothing & Accessories > Men > Tops & Tees > T-Shirts,T-Shirts,,Wash dark colors seperately,2|1|0,Blue|Red,3|0|1,red,Cotton,0|1|0,Regular Fit,1|1|0
7
+ B11,B11V2,,,,24,12,,http://productimportexport.hikeforce.com/wp-content/uploads/2016/08/hikeforce-men-t-shirt-red.png,,,,red,,,,,,,,,
8
+ B11,B11V1,,,,22,11,,http://productimportexport.hikeforce.com/wp-content/uploads/2016/08/hikeforce-men-t-shirt-blue.png,,,,blue,,,,,,,,,
includes/importer/views/html-wf-import-options.php CHANGED
@@ -95,7 +95,7 @@
95
  <option value=""><?php _e('Do not import', 'wf_csv_import_export'); ?></option>
96
  <?php
97
  foreach ($row as $hkey => $hdr):
98
- $hdr = strlen($hdr) > 50 ? substr($hdr, 0, 50) . "..." : $hdr;
99
  ?>
100
  <option value="<?php echo $raw_headers[$hkey]; ?>" <?php selected(strtolower($sel_key), $hkey); ?>><?php echo $raw_headers[$hkey] . " &nbsp; : &nbsp; " . $hdr; ?></option>
101
  <?php endforeach; ?>
95
  <option value=""><?php _e('Do not import', 'wf_csv_import_export'); ?></option>
96
  <?php
97
  foreach ($row as $hkey => $hdr):
98
+ $hdr = strlen($hdr) > 50 ? substr(strip_tags($hdr), 0, 50) . "..." : $hdr;
99
  ?>
100
  <option value="<?php echo $raw_headers[$hkey]; ?>" <?php selected(strtolower($sel_key), $hkey); ?>><?php echo $raw_headers[$hkey] . " &nbsp; : &nbsp; " . $hdr; ?></option>
101
  <?php endforeach; ?>
includes/views/import/html-wf-import-products.php CHANGED
@@ -19,7 +19,7 @@
19
  <a href="http://www.xadapter.com/product/product-import-export-plugin-for-woocommerce/" target="_blank" class="button button-primary"><?php _e( 'Upgrade to Premium Version', 'wf_csv_import_export'); ?></a>
20
  <a href="http://productimportexport.hikeforce.com/wp-admin/admin.php?page=wf_woocommerce_csv_im_ex" target="_blank" class="button"><?php _e( 'Live Demo', 'wf_csv_import_export'); ?></a>
21
  <a href="http://www.xadapter.com/2016/06/20/setting-up-product-import-export-plugin-for-woocommerce/" target="_blank" class="button"><?php _e( 'Documentation', 'wf_csv_import_export' ); ?></a>
22
- <a href="<?php echo plugins_url( 'sample.csv', WF_ProdImpExpCsv_FILE ); ?>" target="_blank" class="button"><?php _e('Sample CSV', 'wf_csv_import_export'); ?></a>
23
  </p>
24
  </div>
25
  <style>
19
  <a href="http://www.xadapter.com/product/product-import-export-plugin-for-woocommerce/" target="_blank" class="button button-primary"><?php _e( 'Upgrade to Premium Version', 'wf_csv_import_export'); ?></a>
20
  <a href="http://productimportexport.hikeforce.com/wp-admin/admin.php?page=wf_woocommerce_csv_im_ex" target="_blank" class="button"><?php _e( 'Live Demo', 'wf_csv_import_export'); ?></a>
21
  <a href="http://www.xadapter.com/2016/06/20/setting-up-product-import-export-plugin-for-woocommerce/" target="_blank" class="button"><?php _e( 'Documentation', 'wf_csv_import_export' ); ?></a>
22
+ <a href="<?php echo plugins_url( 'Product_Sample_CSV.csv', WF_ProdImpExpCsv_FILE ); ?>" target="_blank" class="button"><?php _e('Sample CSV', 'wf_csv_import_export'); ?></a>
23
  </p>
24
  </div>
25
  <style>
product-csv-import-export.php CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.xadapter.com/product/product-import-export-plugin-for-woo
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: HikeForce
7
  Author URI: http://www.xadapter.com/vendor/hikeforce/
8
- Version: 1.1.4
9
  Text Domain: wf_csv_import_export
10
  */
11
 
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: HikeForce
7
  Author URI: http://www.xadapter.com/vendor/hikeforce/
8
+ Version: 1.1.5
9
  Text Domain: wf_csv_import_export
10
  */
11
 
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link:
4
  Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
5
  Requires at least: 3.0.1
6
  Tested up to: 4.6
7
- Stable tag: 1.1.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -78,6 +78,8 @@ Yes. You can import or export product images along with other details
78
  2. Product Export Screen
79
 
80
  == Changelog ==
 
 
81
  = 1.1.4 =
82
  * Bug fix: Removed deprecated function.
83
  = 1.1.3 =
@@ -114,6 +116,8 @@ Yes. You can import or export product images along with other details
114
  * Import /Export Woocommerce Products.
115
 
116
  == Upgrade Notice ==
 
 
117
  = 1.1.4 =
118
  * Bug fix: Removed deprecated function.
119
  = 1.1.3 =
4
  Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
5
  Requires at least: 3.0.1
6
  Tested up to: 4.6
7
+ Stable tag: 1.1.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
78
  2. Product Export Screen
79
 
80
  == Changelog ==
81
+ = 1.1.5 =
82
+ * Bug fix: Improved parsing.
83
  = 1.1.4 =
84
  * Bug fix: Removed deprecated function.
85
  = 1.1.3 =
116
  * Import /Export Woocommerce Products.
117
 
118
  == Upgrade Notice ==
119
+ = 1.1.5 =
120
+ * Bug fix: Improved parsing.
121
  = 1.1.4 =
122
  * Bug fix: Removed deprecated function.
123
  = 1.1.3 =
sample.csv DELETED
@@ -1,2 +0,0 @@
1
- Parent,parent_sku,post_title,post_excerpt,post_content,post_status,menu_order,post_date,sku,downloadable,virtual,visibility,stock,stock_status,backorders,manage_stock,regular_price,sale_price,weight,length,width,height,tax_status,tax_class,upsell_ids,crosssell_ids,featured,file_path,download_limit,download_expiry,product_url,button_text,images,tax:product_type,tax:product_cat,tax:product_tag,tax:product_shipping_class,meta:woocommerce_sale_flash_type,,attribute:pa_size,attribute_data:pa_size
2
- ,,Test Product Name,Quod autem qui decima cum demonstraverunt. Mirum adipiscing humanitatis cum aliquam ullamcorper. In claram eu qui nisl ii. Est nonummy facer iriure in tincidunt. Et placerat in imperdiet augue processus. ,Quod autem qui decima cum demonstraverunt. Mirum adipiscing humanitatis cum aliquam ullamcorper. In claram eu qui nisl ii. Est nonummy facer iriure in tincidunt. Et placerat in imperdiet augue processus. ,publish,0,8/18/2011 17:12,TESTSKU,no,no,visible,0,instock,no,no,29.99,9.98,12,12,12,12,taxable,reduced-rate,1|2|3,1|2,no,,,,,,http://ecx.images-amazon.com/images/I/61L0SPIkgVL._SL1000_.jpg,simple,Games,Final Fantasy,,amount,,,