Changeset 1907590
- Timestamp:
- 07/11/2018 11:10:01 AM (8 years ago)
- Location:
- woo-oscommerce-sync/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
woocommerce-osc-sync.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woo-oscommerce-sync/trunk/readme.txt
r1845303 r1907590 5 5 Requires at least: 3.5.1 6 6 Tested up to: 4.9.4–es_ES 7 Stable tag: 2.0. 17 Stable tag: 2.0.3 8 8 License: AGPLv3.0 or later 9 9 License URI: http://opensource.org/licenses/AGPL-3.0 … … 70 70 71 71 == Changelog == 72 = 2.0.3 = 73 * Fix import orders status to wc-completed 74 75 = 2.0.2 = 76 * Fix import category images url 77 72 78 = 2.0.1 = 73 79 -
woo-oscommerce-sync/trunk/woocommerce-osc-sync.php
r1845303 r1907590 5 5 Description: Import products, categories, customers and orders from osCommerce to Woocommerce 6 6 Author: Alejandro Aranda 7 Version: 2.0. 17 Version: 2.0.3 8 8 Author URI: http://www.aaranda.es 9 9 Original Author: David Barnes … … 108 108 if ($category['categories_image'] != '') { 109 109 if (esc_url($_POST['store_url'])) { 110 $url = rtrim($_POST['store_url'], '/') . '/images/' . urlencode($category['categories_image']); 110 //otw_log("importCategories", "Image: " . rtrim($_POST['store_url'], '/') . '/image/' . urlencode($category['categories_image'])); 111 $url = rtrim($_POST['store_url'], '/') . '/image/' . urlencode($category['categories_image']); 111 112 $attach_id = otw_import_image($url); 112 113 } … … 579 580 'post_password' => $order_key, 580 581 'post_title' => 'Order – ' . date("M d, Y @ h:i A", strtotime($order['date_purchased'])), 581 'post_status' => ' publish'582 'post_status' => 'wc-completed' 582 583 ); 583 584 otw_log("importOrders", "Header: " . json_encode($data)); … … 653 654 } 654 655 } 656 657 655 658 } 656 659 }
Note: See TracChangeset
for help on using the changeset viewer.