Overview
  • Package
  • Class
  • Tree
  • Deprecated
  • Todo
  • Hook Reference
  • Docs Home

Packages

  • Abandoned-Cart-Pro-for-WooCommerce
    • Admin
      • Action
      • Activate-plugin
      • Component
      • I18N
      • Import-Pro
      • License
      • Menu
      • Notices
      • Popup-Modal
        • Cart-Detail
      • Recover
      • Report
      • Setting
      • Settings
      • SMS
      • Tab
      • Template
    • Ajax-Functions
    • Classes
    • Common-Functions
    • Database-Layer
    • Encrypt-Decrypt-Data
    • Frontend
      • Cart-Capture
      • Cart-Populate
      • Coupon
      • Place-Order
    • Setting
    • Update
  • None

Classes

  • Wcap_Abandoned_Orders_Table
  • Wcap_Abandoned_Trash_Orders_Table
  • Wcap_Atc_Dashboard
  • Wcap_Dashboard_Report
  • Wcap_Dashboard_Report_Action
  • WCAP_Dashboard_Widget_Heartbeat
  • Wcap_Dashboard_Widget_Report
  • Wcap_Load_Hooks
  • Wcap_Load_Scripts
  • WCAP_Manual_Email
  • Wcap_Order_Received
  • Wcap_Product_Report_Table
  • Wcap_Recover_Orders_Table
  • Wcap_Recover_Trash_Orders_Table
  • Wcap_Send_Manual_Email
  • Wcap_Sent_Emails_Table
  • Wcap_SMS_Templates
  • Wcap_Templates_Table
  • Wcap_Tracking_msg

Class Wcap_Product_Report_Table

The Product Report Page will display the total amount of the abandoned products as well as the total recovered amount for the products.

WP_List_Table
Extended by Wcap_Product_Report_Table
Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Since: 2.3.7
Located at includes/classes/class_wcap_product_report_table.php

Methods summary

public
# __construct( )

It will add the bulk action and other variable needed for the class.

It will add the bulk action and other variable needed for the class.

Since

2.3.7

See

WP_List_Table::__construct()
public
# wcap_product_report_prepare_items( )

It will prepare the list of the abandoned products, columns and other data.

It will prepare the list of the abandoned products, columns and other data.

Since

2.3.7
public array
# get_columns( )

It will add the columns for Product Reports Tab.

It will add the columns for Product Reports Tab.

Returns

array
$columns All columns name.

Since

2.3.7
public array
# product_report_sortable_columns( )

We can mention on which column we need the sorting. Here we are sorting on Product name, Number of Times abandoned, Number of Times Recovered.

We can mention on which column we need the sorting. Here we are sorting on Product name, Number of Times abandoned, Number of Times Recovered.

Returns

array
$columns Name of the column

Since

2.3.7
public String
# wacp_product_report_data( )

It will get the abandoned product data from database and calculate the number of abandoned & recovered products.

It will get the abandoned product data from database and calculate the number of abandoned & recovered products.

Returns

String
$return_product_report_display Data shown in the Email column

Since

2.3.7

Globals

mixed $wpdb
public sorted
# wcap_class_abandoned_number_asc( array $value1, array $value2 )

It will sort the alphabetically ascending on the Number of Times Abandoned.

It will sort the alphabetically ascending on the Number of Times Abandoned.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_abandoned_number_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on the Number of Times Abandoned.

It will sort the alphabetically descending on the Number of Times Abandoned.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_recover_number_asc( array $value1, array $value2 )

It will sort the alphabetically ascending on the Number of Times Recovered.

It will sort the alphabetically ascending on the Number of Times Recovered.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_recover_number_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on the Number of Times Recovered.

It will sort the alphabetically descending on the Number of Times Recovered.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_product_name_asc( array $value1, array $value2 )

It will sort the alphabetically ascending on the Product Name.

It will sort the alphabetically ascending on the Product Name.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public sorted
# wcap_class_product_name_dsc( array $value1, array $value2 )

It will sort the alphabetically descending on the Product Name.

It will sort the alphabetically descending on the Product Name.

Parameters

$value1
object $value1 All data of the list
$value2
object $value2 All data of the list

Returns

sorted
array

Since

3.4
public string
# column_default( array $wcap_product_report, stirng $column_name )

It will display the data for the Product Reports tab.

It will display the data for the Product Reports tab.

Parameters

$wcap_product_report
object $wcap_product_report All data of the list
$column_name
Name of the column

Returns

string
$value Data of the column

Since

2.3.7

Properties summary

public string $per_page

Number of results to show per page

Number of results to show per page

Since

2.3.7
# 30
public string $base_url

URL of this page

URL of this page

Since

2.3.7
#
public integer $total_count

Total number of recovred orders

Total number of recovred orders

Since

2.3.7
#
API documentation generated by ApiGen