Home > Docs > Smart Coupons for WooCommerce > Auto Apply Coupons in WooCommerce

Auto Apply Coupons in WooCommerce

Last updated on April 2, 2024

This guide explains how to use the Smart Coupons for WooCommerce plugin to automatically apply discounts to your customers’ carts, eliminating the need for them to enter coupon codes manually.

The benefits of auto-apply coupons include:

  • Eliminating the need for manual code entry.
  • Preventing copy-paste errors.
  • Removing the requirement to remember the code.
  • Providing a little surprise for your customers.

Set up an auto-apply coupon

  1. Navigate to Smart Coupons > All Coupons from the WordPress dashboard.
  2. Click on Add coupon to create a new coupon or select an existing one to edit.
  3. Set up the coupon as needed.
  4. From the General tab under Coupon data, enable the option Apply coupon automatically.
  5. Finally, click on Publish.
Auto apply coupons
Auto apply coupons

Manage auto-apply coupons

To efficiently manage auto-apply coupons, we list all available options conveniently under a single tab on the coupon page. Simply navigate to Smart Coupons > All Coupons > Auto apply coupons.

All coupons page
All coupons page

The page lists all available auto-apply coupons based on priority and applies them accordingly, giving higher priority one’s precedence.

Auto apply coupons
Auto apply coupons

The priority is initially determined based on the creation date (with the newest having the highest priority), but this order can be adjusted as needed.

>> Alter coupon priority

How auto-apply coupon works

On adding a product to the cart, the plugin actively checks for applicable auto-apply coupons. Two settings determine the number of coupons checked:

  1. Max auto-apply coupons per cart : The default is 5
  2. No of coupons will be checked for auto-apply eligibility: By default, all available auto-apply coupons are checked.


On adding a product to the cart, the plugin actively scans all available auto-apply coupons until it finds five eligible ones for the cart.

To save processing time, you can limit the number of coupons checked for auto-apply eligibility.

>> Update number of coupons that will be checked for auto-apply eligibility.

Additionally, you can also customize the maximum number of coupons applied to the cart automatically.

>> Update Max auto-apply coupons per cart

Alter auto-apply coupon priority

With the help of a swapping mechanism, we can alter the priority of auto-apply coupons based on requirements. To alter the priority:

  1. Choose two relevant coupons you want to switch priorities between.
Swap coupon priority
Swap coupon priority
  1. Click on the swap icon ( ) present next.
  2. Enter other coupon’s priority which you want to switch with.
  3. Click on Confirm.
Swapping priority
Swapping priority

Now the coupon will have switched their priority as shown below.

Swapping priority

Alter auto-apply coupon settings

To adjust the number of coupons checked for auto-apply eligibility and the maximum number of auto-apply coupons allowed for a cart:

  1. Go to Smart Coupons > General Settings > General, or select Auto-apply coupon settings from the auto-apply coupons page.
Auto-apply coupon settings
Auto-apply coupon settings
  1. Scroll to the Auto-apply coupons section.
Auto-apply coupon settings
Auto-apply coupon settings

By default, the values are:

  1. Max auto-apply coupons per cart = 5
  2. No of coupons will be checked for auto-apply eligibility = Total number of auto-apply coupons available in the store.
  3. To modify these values, enter your desired limits and then click on Save settings.