Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
WPB Cup
25 Million+
Websites using our plugins
16+
Years of WordPress experience
3000+
WordPress tutorials
by experts

How to Auto Apply Coupons in WooCommerce with Coupon URLs

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

Do you want to auto-apply coupons in WooCommerce using coupon URLs?

Normally, shoppers need to type out a coupon code in order to use it, which takes time and effort. Coupon URLs make it easier for customers to complete their purchases by auto-applying the coupon code for them.

In this article, we will show you how to auto-apply coupons in WooCommerce using URLs.

Auto applying coupon URLs in WooCommerce

Why Use Coupon URLs in WooCommerce?

Coupon links are a great way to increase sales in your online store because they are quick and easy for customers to use.

Shoppers don’t have to type out a long and complex coupon code or even remember what code they want to use. Instead, they can simply click a link to auto-apply that coupon.

You can add coupon URLs to your email newsletter, online ads, blogs, or any other place where you connect with your customers. In particular, coupon URLs are great for sharing on social media, as they allow followers to use your discount with a single click.

Coupon URLs can even help you get more sales during popular seasonal sales such as Black Friday. Since a coupon URL is so quick and easy to use, shoppers are more likely to use your coupon compared to using a competitor’s code.

With that said, let’s see how you can auto-apply coupons in WooCommerce.

Creating a Coupon Link for WooCommerce

The best way to create coupon links in WooCommerce is by using Advanced Coupons. It is the best WordPress coupon code plugin on the market and allows you to easily create and manage coupons on your eCommerce store.

First, you’ll need to install and activate both the free Advanced Coupons plugin and the premium Advanced Coupons addon. For more information, please see our guide on how to install a WordPress plugin.

Upon activation, head over to Coupons » License.

Activating Advanced Coupons premium

Next, enter your license key into the ‘License Key’ field.

You can find this information by logging into your account on the Advanced Coupons website. You’ll also need to enter your ‘Activation Email’, which is the email address you used when you purchased Advanced Coupons.

Once you’ve done that, go ahead and click on ‘Activate Key.’

Activating the Advanced Coupons WordPress plugin

To create a coupon URL, simply go to the Marketing » Coupons page.

Here, click on the ‘Add coupon’ button to create a new coupon.

Creating a coupon for WooCommerce

On the next screen, you need to type in a title for the coupon URL. This will become the actual coupon that customers will use on your online marketplace.

Since we are creating a coupon URL, most shoppers won’t see the actual coupon code. However, some customers may still choose to type the code directly into the WooCommerce checkout page.

With that being said, it’s a good idea to create a coupon code that’s easy for shoppers to remember and type in.

Create an auto-apply WooCommerce coupon URL

If you don’t want to create your own coupon code, then you can go ahead and click on ‘Generate coupon code.’ This will create a coupon code using random letters and numbers.

Next, it’s time to enter the coupon’s details by scrolling to the ‘Coupon Data’ section.

Simply open the ‘Discount type’ dropdown and choose the kind of discount you want to create, such as a buy one get one free offer or a shipping discount in WooCommerce.

For this guide, we are going to create a 50% discount.

Setting a percentage discount in WooCommerce

If you want, then you can create some rules about how customers can use the coupon by selecting the ‘Usage restriction’ and ‘Usage limits’ tabs.

For example, a customer may only be able to use the coupon once.

Setting a usage limit using Advanced Coupons

You can also schedule coupons by selecting the ‘Scheduler’ tab.

Here, check the ‘Date Range Schedules’ box.

Scheduling a coupon code in WooCommerce

You can now type in the date when the coupon will go live and the date when customers will no longer be able to use the coupon.

You can use this automation workflow to organize all your promotions in advance. It also means you don’t have to remember to turn the coupon off once the promotion has finished.

When you’re happy with how the coupon is set up, go ahead and click on the ‘URL Coupons’ tab, which is where you’ll create the coupon URL.

Creating a URL coupon code

When you click on ‘Publish,’ the plugin will automatically create a URL and add it to the ‘Coupon URL’ field. For example, if your code is BlackFriday50, then the coupon URL will be www.example.com/BlackFriday50.

The default URL should work for most online stores, but you can change the automatically generated link to anything you want. For example, you might want to create a shorter coupon URL if you plan to share the link on social media.

To do this, simply type the new value into the ‘Code URL Override’ field.

Overriding the coupon code URL

When a shopper visits the coupon URL page, Advanced Coupons will redirect them to your WooCommerce cart page with the code already applied.

This allows them to start the checkout process straight away, so it’s a good option for most websites. However, you may want to redirect customers to a different page, such as a landing page showing your most popular products.

To do this, simply enter the new URL into the ‘Redirect to URL’ field.

Adding a redirect to the coupon URL in WooCommerce

By default, Advanced Coupons will show a ‘Coupon applied successfully’ message to anyone who lands on your WordPress blog or website using the coupon link. If you want to show a different message, then simply type it into the ‘Custom Success Message’ box.

When you are happy with how the coupon is configured, simply click on the ‘Publish’ button to make it live.

Publishing an auto-applying coupon URL

Now, scroll back to the ‘Coupon data’ section, and you’ll see the auto-apply link in the ‘Coupon URL’ field.

You can now share this link with your customers, for example, by sending them a web push notification or email newsletter. Every time someone clicks on the link, Advanced Coupons will apply the coupon to their cart automatically.

How to Promote Your Coupon URLs in WooCommerce

The next step is promoting the coupon URL so that shoppers can find it and click on it.

First, it’s smart to promote the coupon URL to your email list and social media followers. Once you’ve done that, you can also promote the coupon URL on your WordPress website.

The easiest way to do this is by using OptinMonster. It is the best conversion optimization software on the market and helps you turn website visitors into paying customers.

It comes with beautiful lightbox popups, slide-in popups, fullscreen welcome mats, and more.

Promoting your coupon URL in WooCommerce

You can add popups to individual product pages with a button that auto-applies the URL coupon. For details, see our article on how to add coupon popups in WooCommerce.

If you have lots of different coupon URLs, then you can even challenge customers to get the best deal with a spin to win optin.

A spin-to-win campaign created using OptinMonster

No matter how you promote your coupon URLs, it’s important to track visitors to your WordPress website and monitor how they are using those coupons.

This allows you to see what’s working and what isn’t so you can constantly improve your marketing and deals to get more sales. For more information, please see our guide on how to set up WooCommerce conversion tracking.

We hope this article helped you learn how to auto-apply coupons in WooCommerce using URLs. You might also like our expert pick of the best WooCommerce plugins and our guide on how to create a WooCommerce contest to boost loyalty and engagement.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

4 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. Mrteesurez says

    I like this plugin, it offers all what you need to add coupon code and generate the link to make it easy for user to apply coupon with a click. O can also upsell products below the payment gateways, above or below the order summary, mini cart and others.
    I also like the idea of spin to win for the coupon. Thanks for this insightful post.

  3. Jiří Vaněk says

    Thank you for the guide. With woocommerce, I’m starting to pressure people who want to have even a small e-shop. I have never worked with woocomerci for a long time, and like everyone else, I find it complicated at first. Coupons were one of the tasks. Thank you

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.