Changeset 3317990
- Timestamp:
- 06/26/2025 05:59:43 AM (7 months ago)
- Location:
- platformly-for-woocommerce/trunk
- Files:
-
- 3 edited
-
includes/functions.php (modified) (2 diffs)
-
platformly-for-woocommerce.php (modified) (3 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platformly-for-woocommerce/trunk/includes/functions.php
r2788229 r3317990 1 1 <?php 2 use Automattic\WooCommerce\Utilities\OrderUtil; 2 3 3 4 if ( ! defined( 'ABSPATH' ) ) { … … 308 309 } 309 310 } 311 /** 312 * HPOS_enabled - flag for data from db, where hpos is enabled or not 313 * @return bool 314 */ 315 function platformly_wc_hpos_enabled(){ 316 return class_exists( 'Automattic\WooCommerce\Utilities\OrderUtil' ) && 317 OrderUtil::custom_orders_table_usage_is_enabled(); 318 } -
platformly-for-woocommerce/trunk/platformly-for-woocommerce.php
r3249460 r3317990 4 4 * Plugin Name: Platform.ly for WooCommerce 5 5 * Description: Easily connect WooCommerce to your Platformly CRM, set up abandoned cart campaigns and access detailed customer reporting: lifetime value and more... 6 * Version: 1.1. 76 * Version: 1.1.8 7 7 * Author: Platform.ly 8 8 * Author URI: https://www.platform.ly/ 9 9 * 10 10 * WC requires at least: 3.5.0 11 * WC tested up to: 9. 7.011 * WC tested up to: 9.9.5 12 12 * 13 13 * License: GPL-2.0+ … … 25 25 * @var string 26 26 */ 27 public $version = '1.1. 7';27 public $version = '1.1.8'; 28 28 29 29 /** … … 512 512 // if we passed in an order id, we update it here. 513 513 if ($order_id) { 514 update_post_meta($order_id, $meta_key, $status); 514 if(!platformly_wc_hpos_enabled()){ 515 update_post_meta($order_id, $meta_key, $status); 516 } else { 517 $order_c = wc_get_order($order_id); 518 $order_c->update_meta_data($meta_key, $status); 519 $order_c->save_meta_data(); 520 } 515 521 } 516 522 -
platformly-for-woocommerce/trunk/readme.txt
r3249460 r3317990 4 4 Tags: CRM, ecommerce, event tracking, abandoned cart, cart abandonment, sales reporting, platform.ly, platformly 5 5 Requires at least: 4.9.13 6 Tested up to: 6. 76 Tested up to: 6.8 7 7 Stable tag: trunk 8 8 Requires PHP: 5.6 … … 172 172 = 1.1.7 = 173 173 * Bug fixes 174 175 = 1.1.8 = 176 * Improvement: Compatibility with WP 6.8
Note: See TracChangeset
for help on using the changeset viewer.