Changeset 2755467
- Timestamp:
- 07/13/2022 06:39:51 AM (4 years ago)
- Location:
- shop-2-api/trunk
- Files:
-
- 4 edited
-
includes/Base/Enqueue.php (modified) (2 diffs)
-
includes/Tables/Bol2WcStatusReportDetail.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
shop-2-api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shop-2-api/trunk/includes/Base/Enqueue.php
r2720219 r2755467 82 82 $this -> add_wc_style_scripts(); 83 83 $this -> add_common_styles_scripts(); 84 84 85 if ($hook == 'toplevel_page_shop2api_plugin') { 85 86 $this -> add_dashboard_localize(); … … 98 99 wp_enqueue_style( 'jquery-modal-min-css', SHOP2API_PLUGIN_URL . '/assets/external/jquery/jquery.modal.min.css', [], $this->version_id()); 99 100 wp_enqueue_script( 'bol2api_scripts', SHOP2API_PLUGIN_URL . '/assets/bol2api_report_scripts.js', [], $this->version_id()); 100 } elseif ($hook == ' shop-2-api_page_shop2api_wc_to_bol_reports') {101 } elseif ($hook == 'admin_page_shop2api_wc_to_bol_reports_detail') { 101 102 $this -> add_other_localize(); 102 103 wp_enqueue_script( 'jquery-modal-min', SHOP2API_PLUGIN_URL . '/assets/external/jquery/jquery.modal.min.js', [], $this->version_id()); -
shop-2-api/trunk/includes/Tables/Bol2WcStatusReportDetail.php
r2637595 r2755467 45 45 $api_response = $shop_2_api_connection->get_bol_connection_report($search, $sort, $current_page); 46 46 $api_response_data = json_decode(wp_remote_retrieve_body($api_response), true); 47 $this->report_data = $api_response_data['results']; 47 if ($api_response_data != null) { 48 $this->report_data = $api_response_data['results']; 49 $total_items = $api_response_data['count']; 50 } else { 51 $this->report_data = []; 52 $total_items = 0; 53 } 48 54 49 55 $this->set_pagination_args( 50 56 array( 51 'total_items' => $ api_response_data['count'],57 'total_items' => $total_items , 52 58 'per_page' => 10 53 59 ) -
shop-2-api/trunk/readme.txt
r2738043 r2755467 92 92 1.2) Added marked as paid checkbox where the order will be marked as processing and the stock will be updated accordingly. 93 93 94 = 1.0.13 = 95 1) Bug Fix where the reporting screen was not showing correctly 96 94 97 == Instructions == 95 98 1) After installing Shop2Api, a new menu item will be available in your WordPress installation, you can continue and click on it and enter you token which was mailed to you. -
shop-2-api/trunk/shop-2-api.php
r2738043 r2755467 5 5 Plugin URI: https://wordpress.org/plugins/shop-2-api/ 6 6 Description: The plugin Shop2Api will sync products between e-Commerce platforms. The current supported e-Commerce platforms are WooCommerce to Bol.com, and we are working on Amazon, Shopify and others. We added a koopblok service so that you can check if you lower your price can you get koopblok. 7 Version: 1.0.1 27 Version: 1.0.13 8 8 Requires at least: 5.0 9 9 Requires PHP: 7.2 … … 34 34 define('SHOP2API_PLUGIN_URL', plugin_dir_url( __FILE__ )); 35 35 define('SHOP2API_PLUGIN', plugin_basename( __FILE__ )); 36 define ('VERSION', '1.0.1 2');36 define ('VERSION', '1.0.13'); 37 37 38 38 // Register items in the project.
Note: See TracChangeset
for help on using the changeset viewer.