With the auto-apply coupon, customers needn’t have to manually enter the coupon code to redeem it. Smart Coupons for WooCommerce (free) plugin automatically redeems coupons if satisfying discount conditions and cart conditions are available.
The plugin allows setting five auto-apply coupons at a time.
Let us go through some of the benefits of this auto coupon apply feature:
- No need to enter the code manually
- Removes copy-paste errors
- Needn’t have to remember the code
- Surprise and delighted customers
Get started
- First of all, install and activate the plugin.
- From your WordPress dashboard, go to the Marketing > Coupons.
Steps to create auto-apply coupon
- From the coupon window which opens up, click on Add coupon to create a new coupon.
- Input the 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.
If you set 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 slowing down your site.
Therefore, the plugin has effectively dealt with this case by considering only the latest 5 (recently published) for applying automatically.
If your server can handle any number of coupons or if instead of 5, you need to set 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 you to have a maximum of 10 coupons (recently published) for 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.
Related articles:
Please have a look at the Smart coupon for WooCommerce Pro plugin for more advanced features.
- Was this article helpful?
- Yes, thanks!Not really
Comments (4)
Claire
November 21, 2022
I have set up my code, I have enabled discount to cart, but im still not getting the discount applied. help!!
Mike
November 22, 2022
Hi Claire,
Sounds like you need some technical assistance. Please visit the support page for technical assistance: https://www.webtoffee.com/support/
Fabio Gobetti
February 14, 2022
Hi, the plugin is great! Just one question. I have created many coupons that cannot be used with other coupons.
I have also created a self-applying coupon, is it possible to make this self-apply even if there is already a coupon that does not include other coupons?
Mike
February 27, 2022
Hello Fabio,
Thanks for reaching out to us. We understand your requirement. Presently our plugin doesn’t offer any options or tweaks to auto-apply coupons if the already added coupon has the “individual use only” option is enabled.