wp_ec_cart_link

Static

Stores ec cart link data created by this plugin.

Column Definitions

ColumnTypeNullable
🔑cart_link_idint(11)NO
link_tokenvarchar(16)NO
link_labelvarchar(255)NO
promo_codestextYES
destinationvarchar(16)NO
clear_carttinyint(1)NO
is_activetinyint(1)NO
expiresdatetimeYES
max_usesint(11)NO
use_countint(11)NO
created_bybigint(20)NO
created_atdatetimeYES
last_useddatetimeYES

CREATE TABLE Statement

CREATE TABLE IF NOT EXISTS ec_cart_link ( cart_link_id int(11) NOT NULL AUTO_INCREMENT, link_token varchar(16) NOT NULL DEFAULT '', link_label varchar(255) NOT NULL DEFAULT '', promo_codes text, destination varchar(16) NOT NULL DEFAULT 'cart', clear_cart tinyint(1) NOT NULL DEFAULT 0, is_active tinyint(1) NOT NULL DEFAULT 1, expires datetime DEFAULT NULL, max_uses int(11) NOT NULL DEFAULT 0, use_count int(11) NOT NULL DEFAULT 0, created_by bigint(20) NOT NULL DEFAULT 0, created_at datetime DEFAULT NULL, last_used datetime DEFAULT NULL, PRIMARY KEY (cart_link_id), UNIQUE KEY cart_link_token (link_token) ) $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_cart_link`;

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

Other tables from WP EasyCart: Shopping Cart and eCommerce Store