We have updated woocommerce plugin on our website and we are having an issue with the coupons.
We have a limit of 30 time coupon usage.
We have update the usage count to 29.
We add 3 products related to the category restriction we mentioned in the coupon settings.
However, when we apply the coupon in our cart, it is still applied. And does not mention any limit reached.
Please help and advise as this is posing a big problem.
Thank you,
Rashmika.
Coupon coupon_name was used in another transaction during this checkout, and coupon usage limit is reached. Please remove the coupon and try again.
I found this post that suggested the issue was that the update to WooCommerce added a usage_count field and that all generated coupons would be affected. It suggested adding this function.
add_filter(‘woocommerce_hold_stock_for_checkout’, ‘test_coupon_time’);
function test_coupon_time() {
return false;
}
Adding this fixed the issue for me at that time. However, I am now getting repeated (but not consistent) complaints that users are getting the following error:
Coupon usage limit has been reached.
When testing myself, I can’t reproduce this error, but reports continue to come in from customers.
I am using
WordPress version 5.4.1
WooCommerce version 4.1.1
WooCommerce Coupon Generator Version 1.1.0
Any help would be much appreciated!
]]>Have several coupon codes that are limited to 1 use by each user.
Placed two orders, not logged in, and used the same email address and it allowed both orders to placed using the coupon code.
Under WC > Coupons > Usage Limits > Usage Limit Per User is set to 1. Tooltip for that field says “Uses billing email for guests, and user ID for logged in users”
Seems like a bug that it’s allowing the same guest email address to use that coupon more than once. Anyone having this issue?
]]>https://www.ads-software.com/plugins/woocommerce/
]]>Thanks
https://www.ads-software.com/plugins/youtube-embed-plus/
]]>