Skip to content

Swft Cart

Swft Cart is a free WooCommerce cart drawer plugin. It is completely independent of Swft Checkout — you can run either or both.

Free forever. No licence key. No upsell.

Swft Cart replaces the WooCommerce mini-cart with a slide-in drawer. When a customer adds a product to cart, the drawer opens automatically (or on click of the cart icon, depending on configuration).

The drawer is powered by 18 opt-in modules. Each module is a self-contained UI component that can be enabled or disabled independently. Modules are loaded only when enabled — no dead weight in production.

  1. Download swft-cart.zip from swft.co.uk/cart
  2. Install via Plugins → Add New → Upload Plugin
  3. Activate
  4. Go to WooCommerce → Swft Cart to configure modules and theme

No API key required for Swft Cart.

When both plugins are active, the Checkout button in the Swft Cart drawer redirects to the Swft Checkout flow. The swftcart:checkout event fires before the redirect — you can cancel it with e.preventDefault() if needed.

The cart exposes window.SwftCart for programmatic control. See Public API for the full reference.

Swft Cart provides PHP filters for customising every aspect of the cart data before it is sent to the frontend:

  • swftcart_cart_data — full cart object
  • swftcart_cart_item — individual item
  • swftcart_modules — module configuration
  • swftcart_i18n — all UI strings
  • swftcart_announcements — announcement bar content
  • swftcart_theme_vars — CSS custom property overrides
  • swftcart_delivery_data — delivery countdown data
  • swftcart_upsell_ids — product IDs to show in the upsell module

See PHP Filters for full signatures and examples.