Skip to content

Oasis Optimization

How To Create A WooCommerce Direct Checkout Link In 3 Steps

  • by

Imagine it’s the last few hours of your promotion and what you really want to do is make it easy for last minute purchases – someone can click on the WooCommerce Direct Checkout link you send them and have the product they really want added to their cart and be taken straight to checkout.

That would be helpful and work well for your store, right?

Well, you can do just that and use these links in sales channels like email to skip the shopping cart and go direct to checkout.

Just make sure that wherever you use these handy links your customers know that they will go straight to checkout – a quick note or call to action like “click here to add this to your cart and go straight to checkout” will make it a smooth transition.

Checkout links, also known as a Checkout Permalink, are links that you can form in a variety of ways to bypass the normal process of going to your store, navigating to a product page, adding the product to the cart, and then going to checkout.

Checkout links add a product or products to the customers cart and goes directly to checkout. No need for a cart button or jumping through multiple steps before purchasing. You can even customize the link to add multiple products, variants, discounts, checkout fields, and more.

It’s a great way to help customers get what they want quickly, boost conversion rate, and simplify checkout.

First things first – let’s make a simple link that adds an individual product to the cart and takes someone directly to checkout with a direct link.

The easiest way to do this is to log into your WooCommerce store and navigate to the product you want to use.

First, navigate to the product you want to use and copy the Product ID

Navigate to Products and find the product you want to use.

When you hover over the name of the product you’ll see the ID appear in gray. Copy this down. 

Create a WooCommerce Direct Checkout Link Using Product ID

You can also click into the product/post and you’ll see the Product ID in the URL after “post=”.

Then, form a URL with your Product ID like this:

https://www.YourStoreURL.com/checkout/?add-to-cart=ProductID

Just replace YourStoreURL with your actual domain and change ProductID to whatever your Product ID is. 

In the image above, that would be 1503.

Now that you’ve formed the basic direct to checkout link, what else can you do?

The answer is…a lot!

Including:

  • Applying coupon codes and discounts
  • Adding more than 1 of the same product
  • Adding more than 1 type of product
  • Conversion tracking
  • Adding variable products
  • Adding checkout parameters like name, email address, city, zip code, country, and more

Let’s take a look at the most often used customizations.

Adding a discount code

Adding a discount code to your checkout link is pretty straightforward. 

You’ll need to add the following to your link: 

&coupon_code=COUPONCODE

Once clicked, it will again take the user straight to checkout but will automatically apply the discount – just make sure that you’ve already created the code in WooCommerce and have tested that it works. 

The final URL will look like this:

https://www.YourStoreURL.com/checkout/?add-to-cart=ProductID&coupon_code=COUPONCODE

Adding more than 1 of the same product

To increase the amount of products automatically added to the checkout process, just adjust the number after the Product ID like this:

&quantity=# 

Where “#” is the actual number of that product that should be added to their cart (2,3, etc).

The final URL will look like this:

https://www.YourStoreURL.com/checkout/?add-to-cart=ProductID&quantity=#

Just replace the domain, your Product ID and the quantity.

Adding more than 1 product

What if you want to add 2 different products?

In this case, you form the same base URL but add the second product after the first with a comma separating them, so that the final URL will look like this:

https://www.YourStoreURL.com/checkout/?add-to-cart=ProductID1,ProductID2

Just add another “,ProductID:1”, for each additional product you want to add. To adjust how many of each product you can either use the method given above for each product or enter the ProductID multiple times, like this: …ProductID1,ProductID1

There’s tons of WordPress plugins out there and as you know, some are free, some are paid. I’m not going to tell you which one is best for all sites – you can see for yourself which plugins are listed in the WordPress plugin repository here and see if one of them fits your needs if you’d like to speed the process up or make it a little simpler.

Summary

Using these links and making sure to let customers know what will happen when they click on them will make for a great customer experience that you can use in marketing emails, cart abandon emails, and other messages for customers.

As mentioned at the beginning of the article, using these links in a well thought out manner can help with conversion optimization by boosting conversions and improving the user experience.

If you’ve been asking yourself “How do I create a checkout link in WooCommerce” you’ve now got the answer and it’s time to implement!

Looking for instructions on how to create checkout links in Shopify? Click Here.