Plugin Directory

Changeset 3067117


Ignore:
Timestamp:
04/08/2024 05:51:25 PM (2 years ago)
Author:
taz_bambu
Message:

commit 2.7 version

Location:
webd-woocommerce-advanced-reporting-statistics/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • webd-woocommerce-advanced-reporting-statistics/trunk/class-admin.php

    r3066749 r3067117  
    402402                $order_data['phone'] = ( method_exists( $order, 'get_billing_phone' ) ) ? $order->get_billing_phone() : '';
    403403                $order_data['country'] = ( method_exists( $order, 'get_billing_country' ) ) ? $order->get_billing_country() : '';
    404                 $order_data['shipping'] = ( method_exists( $order, 'get_total_shippping' ) ) ? $order->get_total_shippping() : '';
     404                $order_data['shipping'] = ( method_exists( $order, 'get_shipping_total' ) ) ? $order->get_shipping_total() : '';
    405405                $order_data['subtotal'] = ( method_exists( $order, 'get_subtotal' ) ) ? $order->get_subtotal() : '';
    406406                $order_data['total'] = ( method_exists( $order, 'get_total' ) ) ? $order->get_total() : '';
     
    503503                $this->total += $order['total'];
    504504                $this->subtotal += $order['subtotal'];
     505                $this->shipping += $order['shipping'];
    505506                $this->taxes += $order['tax'];
    506507                $this->refunds += (int)$order['refund'];
     
    571572            $this->taxes = 0;
    572573            $this->refunds = 0;
     574            $this->shipping = 0;
    573575            $this->refunds = 0;
    574576            $this->discounts = 0;
     
    586588                    $this->refunds += (int)$order['refund'];
    587589                    $this->discounts += $order['discount'];
     590                    $this->shipping += $order['shipping'];
    588591                    $this->products += $order['quantity'];
    589592                    if ( !in_array( $order['date'] , $this->uniqueDates ) ) array_push( $this->uniqueDates, $order['date'] );
  • webd-woocommerce-advanced-reporting-statistics/trunk/readme.txt

    r3066749 r3067117  
    66Requires PHP: 5.2.4
    77Tested up to: 6.5
    8 Stable tag: 2.6
     8Stable tag: 2.7
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    7878
    7979= Orders are not loaded! what to do? =
    80 Check that wp-cron is active . You can install WP Cron control plugin . check the events . Check WP CRON events for fetchOrders_for_stats action and press run now . This will download yours orders to text file.
     80Check that wp-cron is active. It is mandatory that is active as this is the new way orders are fetched in text files. You can install WP Cron control plugin - check the events . Check WP CRON events for fetchOrders_for_stats action and press run now . This will download yours orders to text file.
    8181
    8282= How to add an order custom field in my reports? =
     
    9191
    9292== Changelog ==
     93
     94= 2.7 =
     95fix total shipping display on general display
    9396
    9497= 2.6 =
     
    205208= 2.6 =
    206209added search functionality in report tables
     210
     211= 2.7 =
     212fix total shipping display on general display
  • webd-woocommerce-advanced-reporting-statistics/trunk/webd-woocommerce-reporting-statistics.php

    r3066749 r3067117  
    44 * Plugin URI: https://extend-wp.com/advanced-reporting-statistics-plugin-for-woocommerce/
    55 * Description: A comprehensive WordPress Plugin for WooCommerce Reports, Statistics, Analytics & Forecasting Tool for Orders, Sales, Products, Countries, Payment Gateways Shipping, Tax, Refunds, Top Products.
    6  * Version: 2.6
     6 * Version: 2.7
    77 * Author: extendWP
    88 * Author URI: https://extend-wp.com
     
    7272                $plugins[] = (object)array(
    7373                    'slug'      => 'webd-woocommerce-advanced-reporting-statistics',
    74                     'version'   => '2.5'
     74                    'version'   => '2.7'
    7575                );
    7676
Note: See TracChangeset for help on using the changeset viewer.