Zandy Ring
(@zandyring)
Automattic Happiness Engineer
Hi there,
I just tested this on a test site. I had to test in an incognito window, otherwise it lets me use coupons willy nilly as an Admin. But in an incognito window, it looks like I can use the coupon right up until I’ll filled out the billing details and clicked on Place Order.
It sounds like you are seeing customers being able to use the coupon all the way through the checkout process, however. Could you try testing yourself in an incognito window? If you are able to complete a transaction with a coupon you shouldn’t have, you will next need to disable all your other plugins to run a conflict test. You may want to make a full backup of your site (recommended) before doing this, as well as doing the actual conflict testing on a staging site. If it works properly with all other plugins disabled, it means that one of your other plugins is somehow interfering with the way that core WooCommerce is working.
Another thing to check is to see if you have any PHP fatal errors – you can check with your host if you need help checking those.
Let us know how it goes!
Cheers
We haven’t heard back from you in a while, so I’m going to mark this as resolved. If you have any further questions, you can start a new thread.
Hi,
I have the same issue, so this is not resolved.
There is no restricton when you add email restriction. Anyone can buy without restriction. Coupon apply to to enyone.
I’ve done all the test in incognito.
I’m using woocommerce 3.2.6
Check if you have anything like this in your functions.php
//Remove “Sorry, it seems the coupon is invalid” Error Message
add_filter( ‘woocommerce_coupon_error’, ‘__return_empty_string’ );
REMOVE IT
I have the same issue. That filter is not in our function file and everything is updated, we try also to disable all the plugin, no way. The restriction definetly does not work.
It would be nice if you can solve this issue.
Thanks
@fulvialami Did you switch themes and check?
Hi!
Sorry guys, same problem here. Switching to Storefront theme doesn’t change anything. That’s quite annoying…
I am facing the same issue. So I’m just looking for another plugin.
Hi!
This snippet works for me: https://gist.github.com/riotxoa/f4f1a895052c195394ba4841085a0e83
I hope they fix this issue as soon as possible in official plugin.
Best Regards!
Ricardo
This snippet works but then you can ONLY use coupons with email-restriction!
Do anybody have a something who works with both varants in a page – free coupons & restricted coupons?
Sorry, I am too stupid to modify script by myself so it works 🙁
I use woocommerce 3.5.1 and have the same issue still!