- I searched for related documents but no longer works.(WooCommerce Student Discount)
- I need to create a coupon in WooCommerce that will only work if the user has an email which ends in hcmute.edu.vn.
For example 15104032@student.hcmute.edu.vn
Any help is appreciated.
Asked
Active
Viewed 220 times
0

Lê Nghĩa
- 255
- 4
- 15
1 Answers
1
Following the documentation you can go for Usage Restriction
with the Allowed Emails/Email restrictions
option, using wildcard character to mact multiple email addresses from a same domain.
Allowed Emails/Email restrictions – Email address or addresses that can use a coupon. Verified against customer’s billing email. WooCommerce 3.4+ also allows you to include a wildcard character (*) to match multiple email addresses, for example,
*@gmail.com
would make any gmail address.

jjj
- 965
- 8
- 23
-
not working with WooCommerce 3.4+? not working using the wildcard `*@student.hcmute.edu.vn`? – jjj Oct 05 '18 at 15:17
-
I am using WooCommerce 3.4.5 and using the wildcard *@student.hcmute.edu.vn. When using @gmail.com, coupon is still active – Lê Nghĩa Oct 05 '18 at 15:54
-
1It should work, I have to make tests on my side for a better understanding of the issue. – jjj Oct 05 '18 at 16:22