Changeset 3282763
- Timestamp:
- 04/27/2025 01:46:16 PM (11 months ago)
- Location:
- connect-plus-for-woocommerce/trunk
- Files:
-
- 5 edited
-
README.txt (modified) (1 diff)
-
admin/cpfw-connect-admin.php (modified) (3 diffs)
-
admin/partials/cpfw-connect-admin-send-btn.php (modified) (1 diff)
-
admin/views/cpfw-connect-admin-settings.php (modified) (1 diff)
-
connect-plus-for-woocommerce.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
connect-plus-for-woocommerce/trunk/README.txt
r3278431 r3282763 7 7 Requires at least: 6.0 8 8 9 Tested up to: 6. 69 Tested up to: 6.8 10 10 11 Stable tag: 1.0. 1911 Stable tag: 1.0.20 12 12 13 13 Requires PHP: 7.0 -
connect-plus-for-woocommerce/trunk/admin/cpfw-connect-admin.php
r3278431 r3282763 477 477 } 478 478 479 } catch (Exception $e) { 480 error_log($order_id . PHP_EOL . 'Error: ' . $e->getCode() . ': ' . $e->getMessage() . PHP_EOL, 3, __DIR__ . '/../logs/error.log'); 479 } catch (Exception $e) { 481 480 } 482 481 … … 551 550 */ 552 551 public function handle_delivery_status_update($meta_id, $post_id, $meta_key, $meta_value) { 553 $order = wc_get_order($post_id);554 $delivery_status = $order->get_meta('_delivery_status');555 552 $status_text = !empty($delivery_status) ? $delivery_status : 'No status'; 556 553 if ($meta_key !== '_delivery_status' || get_post_type($post_id) !== 'shop_order') { … … 558 555 return; 559 556 } 557 $order = wc_get_order($post_id); 558 $delivery_status = $order->get_meta('_delivery_status'); 560 559 if (!$order) { 561 560 update_post_meta($post_id, '_delivery_status',$status_text); -
connect-plus-for-woocommerce/trunk/admin/partials/cpfw-connect-admin-send-btn.php
r3182009 r3282763 36 36 <p><?php echo esc_html(__('Are you sure to send this/these order/s to Olivery Connect Plus ?', 'connect-plus-for-woocommerce')); ?></p> 37 37 <div class="alert" style="display: none"></div> 38 <a class="button-primary modalBtn" id="submit_to_olivery" data-text="<?php echo esc_attr(__('Send', ' oconnect-plus-for-woocommerce')); ?>" data-sending="<?php echo esc_attr(__('Sending...', 'connect-plus-for-woocommerce')); ?>" data-id="<?php echo esc_attr($the_order->get_id()); ?>">38 <a class="button-primary modalBtn" id="submit_to_olivery" data-text="<?php echo esc_attr(__('Send', 'connect-plus-for-woocommerce')); ?>" data-sending="<?php echo esc_attr(__('Sending...', 'connect-plus-for-woocommerce')); ?>" data-id="<?php echo esc_attr($the_order->get_id()); ?>"> 39 39 <?php echo esc_html(__('Send', 'connect-plus-for-woocommerce')); ?> 40 40 </a> -
connect-plus-for-woocommerce/trunk/admin/views/cpfw-connect-admin-settings.php
r3270172 r3282763 76 76 <td> 77 77 <input type="text" id="olivery_connect_token" name="olivery_connect_token" 78 class="regular-text " value="<?php e cho $current_token; ?>"78 class="regular-text " value="<?php esc_html_e($current_token,'connect-plus-for-woocommerce'); ?>" 79 79 placeholder="<?php esc_attr_e('Enter your ecommerce token', 'connect-plus-for-woocommerce'); ?>"> 80 80 <p class="description"> -
connect-plus-for-woocommerce/trunk/connect-plus-for-woocommerce.php
r3278431 r3282763 17 17 * Plugin URI: https://website.olivery.app/ 18 18 * Description: Plugin to help you connect WooCommerce with Connect Plus application 19 * Version: 1.0. 1919 * Version: 1.0.20 20 20 * Author: Olivery dev 21 21 * Text Domain: connect-plus-for-woocommerce … … 40 40 define('CPFW_PLUGIN_DIR', __DIR__); 41 41 42 define('PLUGIN_VERSION','1.0. 19');42 define('PLUGIN_VERSION','1.0.20'); 43 43 /** 44 44 * The code that runs during plugin activation.
Note: See TracChangeset
for help on using the changeset viewer.