|
/ Documentation /CartFlows/Features/ How to Create a Direct Buy-Now Checkout Link for a Product

How to Create a Direct Buy-Now Checkout Link for a Product

CartFlows lets you create a direct link straight to your checkout page with a specific product already added to the cart. Instead of sending customers through your shop or a landing page first, you can share one link, from an ad, an email, or social media, that takes them straight to checkout, ready to buy.

This is especially useful for:

  • Running ads that go straight to checkout for a single product, skipping the shop page entirely
  • Sending existing customers a one-click reorder link in an email
  • Sharing a pre-filled checkout link with a coupon already applied
  • Linking to checkout with a specific product variation (like a size or color) already selected

How It Works

CartFlows Checkout pages can read a few special parameters from the URL and use them to automatically add products to the cart, apply a coupon, and even pre-fill the customer’s checkout fields before they type anything.

You don’t need to build this URL by hand. CartFlows Pro includes a Checkout Link Generator that builds it for you.

Step 1: Open the Checkout Link Generator

Go to CartFlows > Store Checkout (or Funnel checkout) in your WordPress dashboard, open the settings for the checkout step, then open the Checkout Link tab.

cartflows checkout link genrator

Step 2: Configure Your Link

On this screen, you can select:

  • Checkout Step — which published checkout step the link should point to
  • Product — the product to pre-add to the cart, including a specific variation of a variable product (e.g. a particular size or color)
  • Coupon — optionally auto-apply a WooCommerce coupon (the generator shows its discount type, amount, and expiry so you can confirm you’ve picked the right one)
  • Customer Details — optionally pre-fill any billing or shipping field on that checkout step, including custom fields added via the Checkout Field Editor

Step 3: Copy and Use the Generated Link

Copy the link and use it in ad campaigns, email marketing, or social posts.

generate direct checkout link

When a customer opens it, they land on checkout with the product already in the cart, any coupon applied, and any pre-filled details in place, ready to complete their order.

Building a Link Manually

ParameterDescription
wcf-add-to-cartProduct ID (or variation ID) to add to the cart. Separate multiple IDs with commas.
wcf-qtyQuantity for each product listed in wcf-add-to-cart, in the same order, comma-separated. Defaults to 1 if omitted.
couponCoupon code to auto-apply.
Any checkout field keyPre-fills that field, e.g. billing_first_name, billing_email, billing_address_1, shipping_address_1, or any custom field from the Checkout Field Editor.

Example:

https://yourstore.com/checkout-page/?wcf-add-to-cart=1234
&wcf-qty=2&coupon=SAVE10&[email protected]

This link adds product ID 1234 (quantity 2) to the cart, applies the SAVE10 coupon, and pre-fills the billing email field with [email protected].

Note: If you add a shipping_* field to the link (for example shipping_address_1), CartFlows automatically checks the “Ship to a different address” option on checkout so the pre-filled shipping fields are visible right away, instead of staying hidden behind a collapsed section.

Notes

  • For variable products, select the specific variation you want in the Checkout Link Generator (or use that variation’s own product ID in wcf-add-to-cart if building the link manually), rather than the parent product ID.
  • This feature requires CartFlows Pro.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents