Changeset 3069007
- Timestamp:
- 04/11/2024 01:03:33 PM (2 years ago)
- Location:
- woocommerce-putler-connector/trunk
- Files:
-
- 4 edited
-
classes/class-woocommerce-putler-connector.php (modified) (4 diffs)
-
languages/woocommerce-putler-connector.pot (modified) (4 diffs)
-
readme.txt (modified) (3 diffs)
-
woocommerce-putler-connector.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
woocommerce-putler-connector/trunk/classes/class-woocommerce-putler-connector.php
r2945562 r3069007 912 912 ); // WPCS: cache ok, db call ok. 913 913 } 914 $results_order_details_count = $wpdb->num_rows; 915 916 if ( $results_order_details_count > 0 ) { 914 915 if ( ! empty( $results_order_details ) && count( $results_order_details ) > 0 ) { 917 916 918 917 $order_ids = array(); … … 1994 1993 } 1995 1994 1995 $main_response = $response; 1996 1996 // Code for line items. 1997 1997 foreach ( $cart_items as $item_id => $cart_item ) { 1998 1998 1999 1999 $order_item = array(); 2000 $order_item ['Type'] = ( false === $sub_trans && 'Refund' !== $ response ['Type'] ) ? 'Shopping Cart Item' : $response ['Type'];2000 $order_item ['Type'] = ( false === $sub_trans && 'Refund' !== $main_response ['Type'] ) ? 'Shopping Cart Item' : $main_response ['Type']; 2001 2001 $order_item ['Item_Title'] = ( ! empty( $cart_item['_product_id'] ) ) ? get_the_title( $cart_item['_product_id'] ) : $cart_item['product_name']; 2002 2002 … … 2009 2009 } 2010 2010 2011 $order_item ['Gross'] = ( false === $sub_trans && 'Refund' !== $ response ['Type'] && is_numeric( $cart_item['_line_total'] ) ) ? round( floatval( $cart_item['_line_total'] ), 2 ) : $response ['Gross'];2011 $order_item ['Gross'] = ( false === $sub_trans && 'Refund' !== $main_response ['Type'] && is_numeric( $cart_item['_line_total'] ) ) ? round( floatval( $cart_item['_line_total'] ), 2 ) : $main_response ['Gross']; 2012 2012 $order_item ['Quantity'] = $cart_item['_qty']; 2013 2013 2014 2014 // code to handle special case where order_total & Discount both are zero make the line_total = 0. 2015 if ( 0.00 === floatval( $ response ['Discount'] ) && 0.00 === floatval( $response ['Gross'] ) ) {2015 if ( 0.00 === floatval( $main_response ['Discount'] ) && 0.00 === floatval( $main_response ['Gross'] ) ) { 2016 2016 $order_item ['Gross'] = 0.00; 2017 2017 } … … 2032 2032 2033 2033 if ( empty( $params['trash'] ) ) { 2034 $response ['Raw_Data'] = ( false === $sub_trans || 'Refund' === $ response ['Type'] ) ? '' : $response ['Raw_Data'];2034 $response ['Raw_Data'] = ( false === $sub_trans || 'Refund' === $main_response ['Type'] ) ? '' : $main_response ['Raw_Data']; 2035 2035 } else { 2036 2036 $response ['Raw_Data'] = ''; -
woocommerce-putler-connector/trunk/languages/woocommerce-putler-connector.pot
r2975096 r3069007 1 # Copyright (C) 202 3putler, storeapps1 # Copyright (C) 2024 putler, storeapps 2 2 # This file is distributed under the GNU General Public License v3.0. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Putler Connector for WooCommerce - Accurate Analytics and Reports for your WooCommerce Store 2.13.0\n"5 "Project-Id-Version: Analytics for Woo – Putler Accurate Analytics and Reports for your WooCommerce Store 2.14.0\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/woocommerce-putler-connector-plugin\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 3-10-05T14:52:51+05:30\n"12 "POT-Creation-Date: 2024-04-11T17:02:24+05:30\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 14 "X-Generator: WP-CLI 2.6.0\n" … … 16 16 17 17 #. Plugin Name of the plugin 18 msgid " Putler Connector for WooCommerce -Accurate Analytics and Reports for your WooCommerce Store"18 msgid "Analytics for Woo – Putler Accurate Analytics and Reports for your WooCommerce Store" 19 19 msgstr "" 20 20 21 21 #. Plugin URI of the plugin 22 msgid "https:// putler.com/connector/woocommerce/"22 msgid "https://www.putler.com/connector/woocommerce/" 23 23 msgstr "" 24 24 … … 32 32 33 33 #. Author URI of the plugin 34 msgid "https:// putler.com/"34 msgid "https://www.putler.com/" 35 35 msgstr "" 36 36 -
woocommerce-putler-connector/trunk/readme.txt
r3050907 r3069007 2 2 Contributors: Putler, StoreApps 3 3 Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=CPTHCDC382KVA 4 Author URI: https:// putler.com/5 Plugin URI: https:// putler.com/6 Tags: analytics for WooCommerce, analytics for Woo, WooCommerce reporting, Woo reports, eCommerce reports4 Author URI: https://www.putler.com/ 5 Plugin URI: https://www.putler.com/ 6 Tags: analytics for WooCommerce, analytics for Woo, WooCommerce reporting, Woo reports, WooCommerce reports, WooCommerce analytics, e-Commerce reports, SaaS metrics, Subscription analytics, store analytics, multichannel analytics, customer segmentation 7 7 Requires at least: 4.8.0 8 Tested up to: 6. 4.28 Tested up to: 6.5.2 9 9 Requires PHP: 5.6 10 Stable tag: 2.1 3.010 Stable tag: 2.14.0 11 11 License: GPL 3.0 12 12 … … 158 158 == Changelog == 159 159 160 = 2.14.0 (11.04.2024) = 161 * New: WooCommerce 8.7.0 compatible 162 * New: WordPress 6.5.2 compatible 163 * Fix: Line item totals field displayed as 0 in the final XML/CSV 164 * Update: Code improvements 165 * Update: POT file 166 160 167 = 2.13.0 (05.10.2023) = 161 168 * New: WooCommerce 8.1.1 compatible … … 310 317 == Upgrade Notice == 311 318 319 = 2.14.0 = 320 WooCommerce 8.7.0 compatible, WordPress 6.5.2 compatible, Fixes related to Line item totals field displayed as 0 in the final XML/CSV along with some important updates and fixes, recommended upgrade. 321 312 322 = 2.13.0 = 313 323 WooCommerce 8.1.1 and WordPress 6.3.1 compatible, Fixes related to Important Security issues, Updates related to Changes in the Authentication Process along with some important updates and fixes, recommended upgrade. -
woocommerce-putler-connector/trunk/woocommerce-putler-connector.php
r3026691 r3069007 2 2 /** 3 3 * Plugin Name: Analytics for Woo – Putler Accurate Analytics and Reports for your WooCommerce Store 4 * Plugin URI: https:// putler.com/connector/woocommerce/4 * Plugin URI: https://www.putler.com/connector/woocommerce/ 5 5 * Description: Accurate reports, analytics, integrations, growth insights and tools for your WooCommerce store. 6 * Version: 2.1 3.06 * Version: 2.14.0 7 7 * Author: putler, storeapps 8 * Author URI: https:// putler.com/8 * Author URI: https://www.putler.com/ 9 9 * Text Domain: woocommerce-putler-connector 10 10 * Domain Path: /languages/ 11 11 * Requires at least: 4.8.0 12 * Tested up to: 6. 4.212 * Tested up to: 6.5.2 13 13 * Requires PHP: 5.6+ 14 14 * WC requires at least: 3.0.0 15 * WC tested up to: 8. 1.115 * WC tested up to: 8.7.0 16 16 * Copyright (c) 2006 - 2024 Putler. All rights reserved. 17 17 * License: GNU General Public License v3.0 … … 26 26 } 27 27 28 define( 'WPC_VERSION', '2.1 3.0' );28 define( 'WPC_VERSION', '2.14.0' ); 29 29 30 30 // Hooks.
Note: See TracChangeset
for help on using the changeset viewer.