Changeset 2979697
- Timestamp:
- 10/16/2023 06:05:21 PM (2 years ago)
- Location:
- shop-2-api/trunk
- Files:
-
- 4 edited
-
includes/Api/Shop2ApiConnect.php (modified) (1 diff)
-
includes/Tables/WcCategorySelection.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
shop-2-api.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
shop-2-api/trunk/includes/Api/Shop2ApiConnect.php
r2962006 r2979697 326 326 $connections = wp_remote_retrieve_body($this->get_wc_connection_info()); 327 327 $json_connections = json_decode($connections, true); 328 329 if (!(is_array($json_connections))) { 330 wp_redirect(admin_url('/admin.php?page=shop2api_plugin')); 331 exit; 332 } 328 333 329 334 return wp_remote_post( -
shop-2-api/trunk/includes/Tables/WcCategorySelection.php
r2825412 r2979697 24 24 $shop_2_api_connection = new Shop2ApiConnect(); 25 25 $api_response_data = $shop_2_api_connection->get_bol_category_info(); 26 if (array_key_exists('body', $api_response_data)) { 27 $this->bol_category_dropdown_data = json_decode($api_response_data['body'], true); 26 if (!(is_array($api_response_data))) { 27 $this->bol_category_dropdown_data = []; 28 } else { 29 if (array_key_exists('body', $api_response_data)) { 30 $this->bol_category_dropdown_data = json_decode($api_response_data['body'], true); 31 } 28 32 } 29 33 $api_response_data = $shop_2_api_connection->get_bol_wc_mapping_info(); 30 if (array_key_exists('body', $api_response_data)) { 31 $this->saved_bol_values = json_decode($api_response_data['body'], true); 34 if (!(is_array($api_response_data))) { 35 $this->saved_bol_values = []; 36 } else { 37 if (array_key_exists('body', $api_response_data)) { 38 $this->saved_bol_values = json_decode($api_response_data['body'], true); 39 } 32 40 } 33 41 -
shop-2-api/trunk/readme.txt
r2979381 r2979697 3 3 Plugin URI: https://wordpress.org/plugins/shop-2-api/ 4 4 Tags: WooCommerce, Bol 5 Stable Tag: 1.0.27. 15 Stable Tag: 1.0.27.2 6 6 Requires at least: 5.0 7 7 Requires PHP: 7.2 … … 152 152 3) Updated dashboard. 153 153 4) Added hook for update product variations. 154 5) Fix bug which can cause a php error. 154 155 155 156 == Instructions == -
shop-2-api/trunk/shop-2-api.php
r2979381 r2979697 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.27. 17 Version: 1.0.27.2 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.27. 1');36 define ('VERSION', '1.0.27.2'); 37 37 38 38 // Register items in the project.
Note: See TracChangeset
for help on using the changeset viewer.