Swift
Dieser Inhalt ist noch nicht in deiner Sprache verfügbar.
- Plugin page: https://plogins.com/swift/
- Documentation: https://plogins.com/swift/docs/
- Author: WPPoland.com
- WordPress.org contributor: motylanogha
- Source: https://github.com/wppoland/swift
Swift adds a Buy Now button to WooCommerce. One click adds the product to the cart and sends the shopper straight to checkout, skipping the cart page, a purchase takes one click instead of three. The button appears on single product pages, on shop and archive listings, or both.
Why stores pick Swift
Section titled “Why stores pick Swift”Swift is stateless. It stores one settings option and a schema marker, creates no custom tables and no product meta, and handles the button hooks, nonce verification, cart handling and redirect, nothing else. Disabling it removes every script and style from the storefront. The free edition is the full Buy Now flow under GPL, not a trial with hidden limits.
Free edition highlights
Section titled “Free edition highlights”- A Buy Now button on the single product page (
woocommerce_after_add_to_cart_button) and optionally on shop and archive loops. - Redirect straight to checkout (skip the cart) or to the cart, your choice.
- Optional cart clear so the shopper checks out with only the chosen product.
- Configurable button label and independent placement toggles.
- Position the button before or after the native add-to-cart button on product pages.
- Optionally respect the quantity chosen on the product page (simple products).
- A
[swift_buy_now]shortcode to drop the button anywhere, optionally targeting a product by id. - Button styles, theme default, solid or outline, with an optional accent colour scoped to Swift’s own buttons.
How Buy Now works
Section titled “How Buy Now works”The button is a plain GET form that posts the product id under swift_buy_now, plus a nonce, to the product permalink. On template_redirect Swift verifies the nonce, optionally empties the cart, adds the product (re-checking stock and purchasability) and redirects to the configured target. Because nothing is persisted, the flow stays fast and predictable. The button is hidden for out-of-stock, non-purchasable and variable products.
Editions
Section titled “Editions”- Free on WordPress.org, a Buy Now button for simple products, with cart skipping, configurable placement and styling.
- Pro (planned), express-checkout shortcuts, Buy Now for variable products with an inline variation picker, per-product rules and analytics.
Compatible with Polski
Section titled “Compatible with Polski”Swift adds a Buy Now button, there is no matching module in Polski for WooCommerce, so it is safe to run alongside Polski when you want express checkout. See Standalone storefront plugins.
Next steps
Section titled “Next steps”- Getting started, install and enable the Buy Now button.
- Configuration, every setting with its option key.
- Using Swift, the shortcode, the redirect filter and common scenarios.
- FAQ, common questions.