Class wcal_Recover_Orders_Table
Abandoned Cart Lite for WooCommerce
It will handle the common action for the plugin.
- WP_List_Table
- wcal_Recover_Orders_Table
Author: Tyche Softwares
Since: 2.5.2
Located at includes/classes/class-wcal-recover-orders-table.php
Methods summary
public
|
|
public
|
#
wcal_recovered_orders_prepare_items( )
It will prepare the list of the recovered carts, like columns, pagination, sortable column, all data. |
public
array
|
|
public
array
|
#
recovered_orders_get_sortable_columns( )
We can mention on which column we need the sorting. Here, Abandoned cart date and recovered date. |
public
string
|
#
column_user_name( array $recovered_orders_row_info )
Render the user name Column. We will add the view detials hover link. |
public
array
|
|
public
timestamp
|
#
wcal_class_recovered_created_on_asc( array $value1, array $value2 )
It will sort the ascending data based on the abandoned cart date. |
public
timestamp
|
#
wcal_class_recovered_created_on_dsc( array $value1, array $value2 )
It will sort the descending data based on the abandoned cart date. |
public
timestamp
|
#
wcal_class_recovered_date_asc( array $value1, array $value2 )
It will sort the ascending data based on the recovered cart date. |
public
timestamp
|
#
wcal_class_recovered_date_dsc( array $value1, array $value2 )
It will sort the descending data based on the recovered cart date. |
public
string
|
#
column_default( array $wcal_abandoned_orders, stirng $column_name )
It will display the data for the recovered column. |
Properties summary
public
string
|
$per_page
Number of results to show per page |
#
30
|
public
string
|
$base_url
URL of this page |
|
public
integer
|
$total_count
Total number of recovered orders |
|
public
integer
|
$total_abandoned_cart_count
Total number of abandoned orders |
|
public
integer
|
$total_order_amount
Total amount of abandoned orders |
|
public
integer
|
$recovered_item
Total number recovered orders |
|
public
integer
|
$total_recover_amount
Total number recovred orders total |