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_Cart_Details

Class Wcap_Abandoned_Cart_Details

It will fetch the abandoned cart data & generate and populate data in the modal.

Package: Abandoned-Cart-Pro-for-WooCommerce\Admin\Popup-Modal\Cart-Detail
Author: Tyche Softwares
Since: 4.8
Located at includes/admin/wcap_abandoned_cart_details.php

Methods summary

public static
# wcap_get_cart_detail_view( string $wcap_cart_id, string $wcap_email_address, string $wcap_customer_details, integer $wcap_cart_total, date $wcap_abandoned_date, string $wcap_abandoned_status, string $wcap_current_page )

This function will fetch all the data and generate the HTML required for the cart details popup modal. It will be displayed on the Abandoned carts & Send emails tab

This function will fetch all the data and generate the HTML required for the cart details popup modal. It will be displayed on the Abandoned carts & Send emails tab

Parameters

$wcap_cart_id
The abandoned cart id
$wcap_email_address
Email address if the customer
$wcap_customer_details
Details of the customer
$wcap_cart_total
string $wcap_cart_total Total of the cart
$wcap_abandoned_date
Date of the cart abandoned
$wcap_abandoned_status
Status of the cart
$wcap_current_page
Name of current page

Since

4.8

Globals

mixed $wpdb
mixed $woocommerce
public static array
# wcap_get_billing_details( integer $user_id )

Returns an array of customer billing information. Should be called only for registered users.

Returns an array of customer billing information. Should be called only for registered users.

Parameters

$user_id
  • User ID

Returns

array
$billing_details - Contains Billing Address Details

Since

7.8
public static array
# wcap_get_cart_details( stdClass $wcap_cart_details, integer $wcap_cart_id = '', string $wcap_current_page = '', string $currency = '', $wcap_cart_total = 0 )

Returns the Item Name, Qty and Total for any given product in the WC Cart

Returns the Item Name, Qty and Total for any given product in the WC Cart

Parameters

$wcap_cart_details
$v - Cart Information from WC()->cart;
$wcap_cart_id
  • Abandoned Cart ID
$wcap_current_page
  • Current page where the data is needed
$currency
  • Product Currency
$wcap_cart_total

Returns

array
$item_details - Item Data

Since

7.8
API documentation generated by ApiGen