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.
What it does
Section titled “What it does”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.
Installation
Section titled “Installation”- Download
swft-cart.zipfrom swft.co.uk/cart - Install via Plugins → Add New → Upload Plugin
- Activate
- Go to WooCommerce → Swft Cart to configure modules and theme
No API key required for Swft Cart.
Integration with Swft Checkout
Section titled “Integration with Swft Checkout”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.
Public API
Section titled “Public API”The cart exposes window.SwftCart for programmatic control. See Public API for the full reference.
Extension hooks
Section titled “Extension hooks”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 objectswftcart_cart_item— individual itemswftcart_modules— module configurationswftcart_i18n— all UI stringsswftcart_announcements— announcement bar contentswftcart_theme_vars— CSS custom property overridesswftcart_delivery_data— delivery countdown dataswftcart_upsell_ids— product IDs to show in the upsell module
See PHP Filters for full signatures and examples.