> ## Documentation Index
> Fetch the complete documentation index at: https://docs.smartwpplugins.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Data and uninstall

> What CartPresets stores, what leaves your site, and what happens when you delete it

## What is stored

Five tables and one option:

| Table | Holds | Personal data |
| - | - | - |
| `cartpresets_presets` | Presets: name, slug, status, dates, caps, settings | None |
| `cartpresets_items` | The items inside each preset | None |
| `cartpresets_redemptions` | One row per claim, for purchase limits | The order ID, and a user ID or a guest's billing email |
| `cartpresets_holds` | Claims between checkout and payment, so a capped preset can't be oversold. Each row expires | A hash of the customer's key, never the email itself |
| `cartpresets_slug_history` | Old slugs, for 30-day redirects | None |

Plus the `cartpresets_settings` option, and meta on order line items. See [Order line item meta](https://docs.smartwpplugins.com/cartpresets/developers/order-meta.md).

### The one row with personal data in it

A redemption records who claimed a preset, so a per-customer cap can be enforced. For a signed-in customer that's their user ID. For a guest it's their billing email address, lowercased, since that's the only stable way to recognise the same guest twice. No IP address is recorded. A developer can change how customers are identified with `cartpresets_redemption_customer_key`.

Without it there can be no per-customer limit. You can't know somebody has already claimed something if you don't record that they did.

A customer can ask for that record, and ask for it to be forgotten: see [Privacy and personal data](https://docs.smartwpplugins.com/cartpresets/settings/privacy.md).

## What leaves your site

On the free version, nothing does. There's no analytics, no phone-home, and no scripts or styles enqueued on your storefront.

On CartPresets for WooCommerce Pro, one thing does: a licence check. Your licence key and site URL go to the licensing service to activate, to verify periodically, and to check for updates. The update check sends the key in a request header, never in the address. It runs from wp-admin and cron only, never from your storefront, so a customer browsing your shop never triggers it.

The Presets report reads your own WooCommerce order tables. Those figures never leave your site.

> [!NOTE]
>
> The **Copy system report** button on the Settings sidebar reads your install and puts the result on your clipboard. It sends nothing. It's there so you can paste it into a support thread yourself.

## Uninstalling

Deleting the plugin removes nothing by default.

That's the opposite of most plugins, and it's deliberate. If you deactivate to test something, or delete and reinstall to fix a bad upload, you shouldn't lose a year of work to a routine action.

Each category has its own checkbox under **Settings → Data management → Delete on uninstall**. They're there on both versions, and saved with **Save changes**:

| Checkbox | Key | Removes |
| - | - | - |
| Presets and their settings | `delete_links` | All five tables |
| Store settings, wording and licence (on free: Store settings and wording) | `delete_settings` | Every store setting (wording included), the stored licence record, each administrator's listing preferences, and cached preset data |
| The carrier product | `delete_carrier` | The hidden product, if it's still virtual and hidden |

> [!WARNING]
>
> These run when you delete the plugin, not when you deactivate it, and they can't be undone. Ticking one does nothing straight away. It sets up the deletion for the next time you delete the plugin.

### What is never removed

Order line item meta stays, whatever you switch on. It's part of your order history, and an order that recorded which preset it came from should keep that record after the plugin is gone.

The carrier product is also left alone unless you opt in for it specifically. It's a WooCommerce product that may be attached to old orders, and deleting it would damage your order history.

## GDPR and data requests

The only personal data is the redemption record: a user ID or billing email against an order ID.

WordPress's own tools handle it. **Tools → Export Personal Data** returns every preset an address claimed. **Tools → Erase Personal Data** anonymises those claims rather than deleting them, so a spent purchase limit stays spent. For the full detail, including why erasure keeps the row, see [Privacy and personal data](https://docs.smartwpplugins.com/cartpresets/settings/privacy.md).

## Moving to a new site

Presets are database rows, so a full database migration carries them.

If you're moving between separate stores, use [Import and export](https://docs.smartwpplugins.com/cartpresets/import-export.md)Pro instead: **Export presets** and **Import presets**, under **Settings → Data management → Preset data**. It matches products by SKU on the way in, which a raw table copy can't do, and every imported preset arrives inactive. On the free version both buttons are locked.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.