Using Swift
This walkthrough takes a fresh install to a working Buy Now flow, then covers the common ways stores use it.
1. Enable and label the button
Section titled “1. Enable and label the button”Open WooCommerce → Swift Quick Buy, turn Enable Buy Now on, and set the label you want — Buy now is the default. The live preview on the settings page updates as you type.
2. Choose placement and redirect
Section titled “2. Choose placement and redirect”Pick where the button appears — single product, shop loops, or both — and on the product page decide whether it sits before or after add-to-cart. Set the redirect target to Checkout so Buy Now skips the cart, which is the usual setup.
3. Decide on cart clearing and quantity
Section titled “3. Decide on cart clearing and quantity”- Turn on Empty the cart first if Buy Now should mean “buy only this product now”. Leave it off to keep whatever is already in the cart.
- Turn on Respect product-page quantity if a shopper who sets quantity 3 should buy three units. Otherwise Buy Now adds one.
4. Confirm on the storefront
Section titled “4. Confirm on the storefront”Open a simple, in-stock product. The Buy Now button appears alongside add-to-cart. Clicking it adds the product over a nonce-protected request and redirects to your chosen target — checkout by default. Check a shop listing too: the button shows on simple, purchasable products, and is absent for out-of-stock or variable ones.
Placing the button with the shortcode
Section titled “Placing the button with the shortcode”When you want Buy Now somewhere the automatic placements do not reach — inside a landing page, a block, or custom layout — use the shortcode:
[swift_buy_now]By itself it targets the current product (for example on a product template). To target a specific simple product anywhere, pass its id:
[swift_buy_now id="123"]Common scenarios
Section titled “Common scenarios”- Single-product landing page. Set redirect to checkout, turn on empty-cart, and drop
[swift_buy_now id="…"]under your sales copy — one click takes the visitor straight to pay. - Express shortcut beside add-to-cart. Keep add-to-cart primary, place Buy Now after it, and leave empty-cart off so shoppers can still build a multi-item cart the normal way.
- Catalogue quick buy. Enable the loop placement so high-intent shoppers can buy a simple product straight from the shop grid.
What Swift does not do
Section titled “What Swift does not do”The free edition is built for simple products. A variable product needs a variation chosen first, so its loop button is suppressed and the shortcode targets simple products. Full Buy Now for variable products, with an inline variation picker, is planned for Swift Pro.
Performance and accessibility notes
Section titled “Performance and accessibility notes”The button is server-rendered and the storefront styles are CSS custom properties — there is no jQuery added by Swift, no external request, and no layout shift. The admin help tooltips are keyboard-operable with visible focus styles and ARIA roles throughout.