With the auto-apply coupon, customers don’t have to manually enter the coupon code to redeem it. Smart Coupons for WooCommerce plugin automatically redeems coupons if satisfying discount conditions and cart conditions are available.
The plugin allows setting five auto-apply coupons at a time.
Some of the benefits of the auto-apply coupons functionality are:
- No need to enter the code manually.
- Removes copy-paste errors.
- Needn’t have to remember the code.
- Surprise and delighted customers.
Getting started
- First of all, install and activate the plugin, and a new menu named Smart Coupons will appear in the WordPress dashboard.
- Now navigate to Smart Coupons> All Coupons. Then, follow the given steps:
Steps to create an auto-apply coupon
- From the coupon window which opens up, click on Add coupon to create a new coupon.
- Input the appropriate Coupon code and Description in the respective fields.
- From the General tab, configure the Discount type and Coupon amount.
- Scroll down and enable the option Apply coupon automatically.
- Finally, publish the coupon.

The above-configured coupon is a simple coupon that will auto-apply to the cart.
In the case of setting up multiple auto-apply coupons, the plugin will check for the eligibility of all these coupons when a customer moves the products into the cart. This may result in high memory usage and thereby slow down your site.
Therefore, the plugin has effectively dealt with this case by considering only the latest 5 (recently published) coupons for auto apply.
If the server is capable of handling a large number of coupons or if instead of 5, there is a need to set up at least 10 coupons for auto-apply, then just simply use the below-given filter in the active child theme’s functions.php file.
add_filter( 'wt_smartcoupon_max_auto_coupons_limit', function( ) { return 10; } );
The above filter will allow having a maximum of 10 coupons (recently published) for the auto-apply option. Replace the number 10 in the code and insert the required number to have as many auto-apply coupons for your store.
The plugin restricts the coupons from applying automatically to a maximum count of five only to facilitate uninterrupted workflow for your store. This restriction will reduce the slowness caused by unnecessary memory usage for verifying the coupon eligibility.
To know more about auto-apply coupons, read here.
- Was this article helpful?
- Yes, thanks!Not really
Comment (1)
Jon Zanoff
October 29, 2021
Auto-applied coupons are the only coupons the user can’t manually remove from the cart. If there’s a way to enable this functionality, eg via a script in the child theme, it would be nice addition to this doc.
The very common use-case is that the coupons can’t be used in conjunction with other coupons, and the customer has a BETTER coupon they’d like to use.