[WordPress] 外掛分享: Swift – Buy Now Button for WooCommerce

首頁 › 外掛目錄 › Swift – Buy Now Button for WooCommerce
WordPress 外掛 Swift – Buy Now Button for WooCommerce 的封面圖片
全新外掛
安裝啟用
★★★★★
5/5 分(1 則評價)
13 天前
最後更新
—
問題解決
WordPress 6.5+ PHP 8.1+ v1.0.21 上架:2026-08-15

內容簡介

Swift 外掛為 WooCommerce 產品新增「立即購買」按鈕,讓顧客只需一鍵即可將產品加入購物車並直接前往結帳,省去繁瑣的購物車頁面,提升購物效率。

【主要功能】
• 一鍵加入購物車並直接結帳
• 可自訂按鈕標籤及顯示位置
• 支援短碼和 Elementor 小工具使用
• 可選擇結帳或購物車重定向
• 可選擇是否清空購物車
• 隱藏缺貨或不可購買的產品按鈕

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.21) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Swift – Buy Now Button for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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 or cart), 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

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) or to the cart, whichever you prefer.
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 or cart).
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.
Plogins Swift PRO
The free plugin is complete for what it does: a Buy Now button that skips the
cart, on simple products, with nothing time-limited and no account to create.
Plogins Swift PRO is a separate add-on for stores that want the rest:

Buy Now on variable products – on the product page and in shop loops, with a compact attribute picker that stays disabled until a purchasable variation is chosen
Sticky Buy Now bar – a fixed bar that slides in on scroll, mirroring the selected variation
Per-product rules – hide the button, change its label, or send that product to the cart instead of checkout
Express checkout shortcuts – place Apple Pay and Google Pay buttons beside Buy Now when WooCommerce Payments or Stripe already provides them
Buy Now analytics – clicks, direct-checkout conversions, conversion rate and attributed revenue per product, with CSV export

Swift PRO requires the free plugin and does not replace it. If the free plugin
is missing or disabled, PRO stays dormant and says so rather than half-working.

Plogins Swift PRO – plogins.com/swift-pro/
Pricing – plogins.com/swift-pro/pricing/

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 or cart page; 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.

延伸相關外掛

文章
Filter
Mastodon