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_DB_Layer

Class WCAP_DB_Layer

Database access layer for performing DB related activities

Package: Abandoned-Cart-Pro-for-WooCommerce\Database-Layer
Author: Tyche Softwares
Located at includes/wcap_database_layer.php

Methods summary

public static integer
# insert_cart_history( integer $user_id, string $cart_info, integer $abandoned_time, string $ignored, integer $recovered, string $unsubscribe, string $user_type, string $language, string $session_id, string $ip_address, string $manual_email, string $wcap_trash )

Function ton insert data in database

Function ton insert data in database

Parameters

$user_id
User ID
$cart_info
Cart Info Object encoded as string
$abandoned_time
Time
$ignored
If Cart Ignored
$recovered
Recovered Order Number
$unsubscribe
If unsubscribed
$user_type
User Type
$language
Current Language
$session_id
Session ID
$ip_address
IP Address
$manual_email
Manual Email ID
$wcap_trash
If trashed

Returns

integer
Inserted ID

Since

7.7

Globals

mixed $wpdb Global Variable
public static string
# add_wcml_currency( string $cart_info )

Add Currency to cart info object with WPML active and currency switcher present

Add Currency to cart info object with WPML active and currency switcher present

Parameters

$cart_info
Cart Info object as string

Returns

string
cart_info object with currency added

Since

7.7

Globals

mixed Global woocommerce wpml object
API documentation generated by ApiGen