
In WooCommerce, there’s often a gap between showcasing a product and getting customers to complete a purchase. What if you could skip the product page, the cart page, and get shoppers straight to checkout with the exact products and quantities already added?
That’s exactly what the new Shareable Checkout URLs feature in WooCommerce core (10.0.0) now makes possible.
This functionality allows you to generate URLs that pre-load one or more products into the cart and redirect users to the checkout page instantly. Whether you’re running email campaigns, social ads, or landing pages, these URLs help reduce friction and shorten the path to conversion.
In this post, we’ll cover what these links look like, how to generate and customize them, and the technical details you need to know. At the end, you’ll find the original video walkthrough in case you prefer to watch rather than read.
Let’s look at how this works in practice.
What Are WooCommerce Shareable Checkout URLs?
These are custom links that automatically add products to the cart and redirect users straight to the checkout page.
They’re now part of WooCommerce core, introduced in Pull Request #58140, and work by accepting query parameters to build the cart contents on the fly.
The main benefits:
- You skip the cart page entirely
- Products are pre-populated
- Great for one-click bundles, email promotions, and tailored offers
This feature is useful for merchants looking to reduce the number of steps in the buyer journey.
The Old URL Structure
Here’s the former version of a shareable checkout URL:
https://example.com/checkout/?add-to-cart=123
This:
- Adds the product with ID
123
to the cart - Redirects the user straight to the checkout page or whatever other URL of your choice
You can find a product’s ID by editing it in the WordPress admin and checking the URL or using the WooCommerce product list view.
Adding Multiple Products to the Cart
To include more than one product in the same checkout URL, you can now use different query parameters:
https://example.com/checkout-link/?products=123,456
This adds both product ID 123
and product ID 456
to the cart.
It’s important to use the checkout-link
endpoint, or this won’t work.
Specifying Quantities
You can also control the quantity of each product using a colon separator:
https://example.com/checkout-link/?products=123:2,456:4
In this case:
- 2 units of product ID 123
- 4 units of product ID 456
This allows for fully customized bundles and quantity control in a single, shareable link.
Auto-apply Coupons
The great thing about the new “checkout-link” endpoint, is that you can also auto-apply a given coupon code together with your bundle of products:
https://example.com/checkout-link/?products=123:2,456:4&coupon=WHATEVER
Handling Variations
Variable products can also be added via these URLs, all you need is the “Variation ID”:
https://example.com/checkout-link/?products=78995:2,78996:4
In this case we’re adding variations 78995 and 78996 to cart with quantity 2 and 4, respectively.
Redirecting to a Custom Page
These URLs default to sending users to the checkout page, so it’s not really possible to send them anywhere else e.g. on the Cart page, or even remain on the same page.
Full Video Walkthrough
Use Cases and Practical Applications
This feature opens the door to:
- Creating one-click upsell links in post-purchase emails
- Running targeted ad campaigns with pre-configured product bundles
- Simplifying access to free sample offers or trials
- Bypassing the cart for faster checkout on landing pages
You can even integrate these into QR codes for print campaigns or offline events.
Conclusion
Shareable Checkout URLs are a subtle but powerful addition to WooCommerce. They give store owners more control over how they present offers and guide customers through the purchasing journey with fewer clicks.
Instead of relying on customers to browse, select, and build their cart manually, you can do all the work upfront and send them straight to the final step — ready to pay.
It’s simple, flexible, and built into WooCommerce core as of now. If you haven’t tried it yet, give it a shot and see how it might help increase conversions and reduce checkout abandonment.
Hi Rodolfo, Thanks for the infomration! Does it mean the old way with the add-to-cart URLs will no longer work?
Good question – let me ask Woo 🙂
“No, we have no plans to remove it”