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_Order_Received

It will update the abadoned carts to recovered cart when customer reached the order received page.

Package: Abandoned-Cart-Pro-for-WooCommerce\Classes
Author: Tyche Softwares
Located at includes/frontend/wcap_order_received.php

Methods summary

public static
# wcap_action_after_delivery_session( object $order )

It will update the abadoned carts to recovered cart when customer reached the order received page. If customer had placed the order after cut off time and reached the order recived page then it will also delete the abandoned cart if the order status is not pending or failed.

It will update the abadoned carts to recovered cart when customer reached the order received page. If customer had placed the order after cut off time and reached the order recived page then it will also delete the abandoned cart if the order status is not pending or failed.

Parameters

$order
array $order Order details

Since

5.0

Hook

woocommerce_order_details_after_order_table
public static
# wcap_delete_abanadoned_data_on_order_status( integer $order_id, integer $get_abandoned_id_of_order, string $wcap_get_order_status )

If customer had placed the order after cut off time and reached the order recived page then it will also delete the abandoned cart if the order status is not pending or failed.

If customer had placed the order after cut off time and reached the order recived page then it will also delete the abandoned cart if the order status is not pending or failed.

Parameters

$order_id
string $order_id Order id
$get_abandoned_id_of_order
string $get_abandoned_id_of_order Abandoned cart id
$wcap_get_order_status
Order status

Since

5.0

Globals

mixed $wpdb
mixed $woocommerce
API documentation generated by ApiGen