Uninstalling & Data
Remove ShapedCart cleanly, whether you're pausing it, removing it for now, or removing it for good.
ShapedCart stores very little: a handful of settings rows in your WordPress database, and nothing else. This page explains what happens to them when you deactivate or delete the plugin, and how to remove every trace of it.
Pause, deactivate or delete?
There are three ways to stop using ShapedCart. Pick the one that matches what you want:
| Turn off Enable ShapedCart | Deactivate the plugin | Delete the plugin | |
|---|---|---|---|
| Side cart, floating cart and menu cart | Gone | Gone | Gone |
| Your settings | Kept | Kept | Kept, unless you turned on Delete Data on Uninstall |
| ShapedCart settings screen | Still there | Gone until you reactivate | Gone |
[shaped_cart_menu] in your pages | Shows nothing | Shows as plain text | Shows as plain text |
| Best for | Testing, or a short break | A longer break | Removing it for good |
- To pause ShapedCart, turn off Enable ShapedCart and save.
- To deactivate it, go to Plugins → Installed Plugins and click Deactivate under ShapedCart.
- To delete it, deactivate it first, then click Delete under ShapedCart and confirm.
WooCommerce itself isn't affected by any of these. Your products, orders, coupons and shoppers' carts stay exactly as they are, because ShapedCart only displays the cart. WooCommerce stores it.
What ShapedCart stores
ShapedCart keeps everything in the WordPress options table. It doesn't create database tables, posts, files or scheduled tasks, and it doesn't store anything about your shoppers.
| Option | What it holds |
|---|---|
shaped_cart_settings | All your ShapedCart settings |
shaped_cart_db_version | Which version's data updates have run |
shaped_cart_first_activated_version | The version first installed on your site |
shaped_cart_first_activated_date | When it was first installed |
If your store used RenoCart before the rename, you'll also have four older copies that ShapedCart keeps as a backup: reno_cart_settings, reno_cart_first_activated_version, reno_cart_first_activated_date and reno_cart_current_version. See RenoCart is now ShapedCart.
Delete your data along with the plugin
To have ShapedCart remove its settings when you delete it:
- Go to ShapedCart → Settings.
- Turn on Delete Data on Uninstall and click Save changes.
- Go to Plugins → Installed Plugins, deactivate ShapedCart, then click Delete.
When you delete the plugin, all eight options listed above are removed, the ShapedCart ones and any RenoCart copies.
Save the setting before you delete
WordPress checks Delete Data on Uninstall at the moment you delete the plugin. If it's off at that point, your settings stay in the database. If you've already deleted ShapedCart without it, see Remove leftover data by hand.
If you leave it off, which is the default, deleting ShapedCart keeps your settings. Install it again later and everything is just as you left it.
Clean up shortcodes and custom code
ShapedCart can't remove things you added to your own pages, so check these after you delete it:
- Shortcodes. Once ShapedCart is gone, WordPress shows
[shaped_cart_menu]and[reno_menu_cart]as plain text. Remove them from your pages, widgets, template parts and page builder layouts. To find them, search your pages forshaped_cart_menuandreno_menu_cartin Pages → All Pages. - Menus. Nothing to do. ShapedCart adds the menu cart to your menu while the page loads, so it never saved anything into your menus.
- Custom CSS and buttons. Any CSS for
shaped-cartclasses, or buttons usingdata-shaped-cart-open, simply stop doing anything. You can remove them to keep things tidy. - Your theme's cart. If you turned off your theme's own cart icon or slide-out cart in favor of ShapedCart, turn it back on.
Remove leftover data by hand
If ShapedCart was deleted without Delete Data on Uninstall on and you want its settings gone, remove the options yourself. With WP-CLI:
wp option delete shaped_cart_settings shaped_cart_db_version shaped_cart_first_activated_version shaped_cart_first_activated_date
wp option delete reno_cart_settings reno_cart_first_activated_version reno_cart_first_activated_date reno_cart_current_versionWP-CLI reports any option that doesn't exist on your site. That's fine, and you can ignore it. If you don't use WP-CLI, ask your host, or use a database tool such as phpMyAdmin to delete those rows from the wp_options table. Your table prefix may be different from wp_.
Multisite
On a multisite network, each site keeps its own ShapedCart settings, and deleting the plugin only removes the main site's. To clean up another site, run the commands above with --url= and that site's address, for example wp option delete shaped_cart_settings --url=shop.example.com.
Related
- Plugin Settings: Enable ShapedCart, Delete Data on Uninstall and Reset
- Developer Reference: the stored options in more detail
- RenoCart is now ShapedCart