Directory / plugin
Swift – Buy Now Button for WooCommerce
v1.1.7 · by WPPoland (Mariusz Szatkowski)
Add a Buy Now / quick buy button that takes shoppers straight to checkout, skipping the cart.
About this plugin
Swift adds a “Buy Now” quick buy button to your WooCommerce products. One click adds the product to the cart and sends the shopper straight to checkout, skipping the cart page so a purchase takes one click instead of three.
The button can appear on single product pages, on shop and archive loops, or both. You choose the label, where it redirects (checkout, cart or another page on your site), and whether the cart is emptied first so the buyer checks out with only the product they clicked.
Swift is stateless: it stores no per-product data and creates no database tables. It handles the button hooks, nonce verification, cart handling and redirect, and nothing else.
Swift is developed in the open. Source code, bug reports and feature requests live at github.com/wppoland/plogins-swift.
Documentation and links
- Documentation: plogins.com/plogins-swift/docs/
- Plugin page: plogins.com/plogins-swift/
- Source code: github.com/wppoland/plogins-swift
- Bug reports and feature requests: github.com/wppoland/plogins-swift/issues
- Swift Pro: plogins.com/plogins-swift-pro/
What it does
- Adds a “Buy Now” button that adds-to-cart and redirects in one click.
- Works on single product pages and/or shop and archive loops.
- Place the button before or after the native add-to-cart button on single product pages.
- Drop the button anywhere with the
[swift_buy_now]shortcode or the Elementor “Buy Now Button” widget (optionally targeting a product by id). - Redirects to the checkout (skip the cart), the cart, or a custom page on your own site.
- Optionally empties the cart first so checkout shows only the chosen product.
- Optionally respects the quantity chosen on the product page (simple products).
- Pick a button style, theme default, solid, or outline, with an optional accent colour.
- Honours stock and purchasability, the button is hidden for out-of-stock or non-purchasable products, and is not shown for variable products.
Settings
A simple WooCommerce settings page (WooCommerce > Buy Now Button) lets you:
- Enable or disable the Buy Now button.
- Set the button label.
- Choose where the button appears (single product, shop loops, or both).
- Choose whether it sits before or after the add-to-cart button on single products.
- Choose where it redirects (checkout, cart, or a custom page on your own site).
- Choose whether to empty the cart before adding.
- Choose whether to respect the quantity selected on the product page.
- Pick a button style (theme, solid, outline) and an optional accent colour.
Shortcode and Elementor
Use [swift_buy_now] to render the Buy Now button anywhere, inside a page, post or block. It targets the current product by default; add an id to target a specific simple product:
[swift_buy_now id="123"]
If Elementor is active, the same button is available as a “Buy Now Button” widget. The Product ID control is the shortcode’s id argument: leave it at 0 on a product page.
Works with other Plogins plugins
- Cartdock – Sticky Add to Cart for WooCommerce – Cartdock’s sticky bar can show the Buy Now button next to Add to cart on simple products, switched in the Cartdock settings under Ecosystem integrations.
- Peek – Product Preview for WooCommerce – in Peek’s quick view (Peek 1.1.4 or later), Buy Now goes straight to checkout as on the product page.
Swift Pro
Swift Pro is a separate paid plugin that extends Swift.
Included in Swift:
- Buy Now button
- Cart skipping
- Cart clearing
- Configurable label
- Redirect target
Swift Pro adds:
- Buy Now for variations
- Sticky Buy Now bar
- Per-product rules
- Express checkout
- Loop variable Buy Now
- Buy Now analytics
The free edition is not a trial and its features stay available without a time limit.
- Swift Pro – plogins.com/plogins-swift-pro/
- Compare editions and pricing – plogins.com/plogins-swift-pro/pricing/
- PRO documentation – plogins.com/plogins-swift-pro/docs/
External Services
Swift does not connect to, send data to, or load anything from any external service. There is no SDK, no API client, no remote font, CDN or analytics endpoint, and no phone-home or licensing check, its CSS and JavaScript are bundled with the plugin and enqueued from your own site.
All of Swift’s work happens on your server. It reads and writes a single settings option (swift_settings) and a schema-version marker (swift_db_version), and creates no custom database tables and no product meta. The Buy Now button adds the chosen product to the visitor’s own WooCommerce cart and redirects them within your site to your checkout, your cart or a page on your site you chose; nothing about the product, the cart or the shopper leaves your installation.
Translations
Swift is fully translatable and ships the plogins-swift.pot template. Translations are delivered by WordPress.org language packs built from translate.wordpress.org, and none has been published for Swift yet, so the interface is currently English in every locale. The package itself carries no compiled translation files.