|
/ Documentation /Features/ How to Apply the Coupon from the URL

How to Apply the Coupon from the URL

CartFlows Pro supports applying WooCommerce coupons directly from the checkout page URL. This feature allows you to share the separate coupons for each checkout page for different users or products.

It is enabled by default and does not require any additional configuration.

Create a WooCommerce Coupon

To use this feature, start by creating a coupon in WooCommerce:

  1. Go to Marketing > Coupons.
  2. Click Add Coupon and configure your discount settings.
  3. Save the coupon.
Add new coupon

If needed, refer to WooCommerce’s coupon documentation for detailed instructions.

Add the Coupon to a Checkout Page URL

Once the coupon is created, append the coupon code to the URL of your Checkout page.

Format:

yourdomain.com/checkout-page/?coupon=COUPONCODE

When someone visits this link, the coupon will automatically apply at checkout.

Coupon applied at Checkout page

Combine with Other Parameters

You can also combine the coupon with other supported URL parameters such as product and quantity.

Example:

yourdomain.com/checkout-page/?product=252&quantity=1&coupon=DISCOUNT10

This will:

  • Add the product with ID 252
  • Set the quantity to 1
  • Apply the DISCOUNT10 coupon

How to Find a Product ID

  1. Go to Products > All Products in your WordPress dashboard.
  2. Hover over the product title. You’ll see the Product ID displayed below the title.
Product ID
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
On this page
Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Free Cartflows Form - Popup

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.