wp_ec_abandoned_cart

Static

Stores ec abandoned cart data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑abandoned_cart_idint(11)NO
session_idvarchar(191)NO
emailvarchar(255)NO
first_namevarchar(255)NO
last_namevarchar(255)NO
user_idint(11)NO
phonevarchar(64)NO
statusvarchar(20)NO
stagevarchar(20)NO
items_jsonlongtextYES
item_countint(11)NO
subtotaldecimal(12,2)NO
currencyvarchar(8)NO
coupon_codevarchar(64)NO
shipping_countryvarchar(8)NO
localevarchar(16)NO
card_errorvarchar(255)NO
first_seendatetimeYES
last_activitydatetimeYES
abandoned_atdatetimeYES
recovered_atdatetimeYES
recovered_order_idint(11)NO
recovered_totaldecimal(12,2)NO
sequence_stepint(11)NO
next_send_atdatetimeYES
offer_code_idint(11)NO
offer_codevarchar(64)NO
offer_code_expiresdatetimeYES
admin_notestextYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS ec_abandoned_cart ( abandoned_cart_id int(11) NOT NULL AUTO_INCREMENT, session_id varchar(191) NOT NULL DEFAULT '', email varchar(255) NOT NULL DEFAULT '', first_name varchar(255) NOT NULL DEFAULT '', last_name varchar(255) NOT NULL DEFAULT '', user_id int(11) NOT NULL DEFAULT '0', phone varchar(64) NOT NULL DEFAULT '', status varchar(20) NOT NULL DEFAULT 'active', stage varchar(20) NOT NULL DEFAULT 'cart', items_json longtext, item_count int(11) NOT NULL DEFAULT '0', subtotal decimal(12,2) NOT NULL DEFAULT '0.00', currency varchar(8) NOT NULL DEFAULT '', coupon_code varchar(64) NOT NULL DEFAULT '', shipping_country varchar(8) NOT NULL DEFAULT '', locale varchar(16) NOT NULL DEFAULT '', card_error varchar(255) NOT NULL DEFAULT '', first_seen datetime DEFAULT NULL, last_activity datetime DEFAULT NULL, abandoned_at datetime DEFAULT NULL, recovered_at datetime DEFAULT NULL, recovered_order_id int(11) NOT NULL DEFAULT '0', recovered_total decimal(12,2) NOT NULL DEFAULT '0.00', sequence_step int(11) NOT NULL DEFAULT '0', next_send_at datetime DEFAULT NULL, offer_code_id int(11) NOT NULL DEFAULT '0', offer_code varchar(64) NOT NULL DEFAULT '', offer_code_expires datetime DEFAULT NULL, admin_notes text, PRIMARY KEY (abandoned_cart_id), UNIQUE KEY session_id (session_id), KEY status_next (status, next_send_at), KEY email (email(100)), KEY last_activity (last_activity), KEY first_seen (first_seen) ) $collate;" );

Safe to delete?

If you have uninstalled WP EasyCart: Shopping Cart and eCommerce Store, this table is generally safe to remove. However, always back up your database first.

Note: Some plugins share tables or are dependencies of other plugins. Verify nothing else depends on this table before dropping it.

How to remove this table

DROP TABLE IF EXISTS `wp_ec_abandoned_cart`;

Run this query using phpMyAdmin, Adminer, or your MySQL client. Back up first.

Other tables from WP EasyCart: Shopping Cart and eCommerce Store