Access Restrictions To Mail

Hey everyone.

I want to restrict clients that use hotmail/outlook emails to register or making an order as guest. I have tried adding to Access Restrictions > Email > hotmail.com and in reason just hotmail. Also I have it set to Active. When I try to register with a hotmail email that I have it completes the registration succesfully. What do I do wrong? I have Ultimate version 4.4.3 with 2 storefronts.

Thank you in advance

Screenshot_3.jpg

Hey everyone.

I want to restrict clients that use hotmail/outlook emails to register or making an order as guest. I have tried adding to Access Restrictions > Email > hotmail.com and in reason just hotmail. Also I have it set to Active. When I try to register with a hotmail email that I have it completes the registration succesfully. What do I do wrong? I have Ultimate version 4.4.3 with 2 storefronts.

Thank you in advance

I am afraid, Email section allows to disable specific emails only, not emails by domain.

Additional code modification is required. You can use the update_user_pre hook in the fn_update_user function (app/functions/fn.users.php) to check e-mail

But Cs-cart itself says that this can be done. And now it needs to be custom fixed? :? :confused:

Screenshot_5.jpg

Hey everyone.

I want to restrict clients that use hotmail/outlook emails to register or making an order as guest. I have tried adding to Access Restrictions > Email > hotmail.com and in reason just hotmail. Also I have it set to Active. When I try to register with a hotmail email that I have it completes the registration succesfully. What do I do wrong? I have Ultimate version 4.4.3 with 2 storefronts.

Thank you in advance

Try

"*hotmail.com" instead of "hotmail.com"

It's called a wildcards characters.

Try

"*hotmail.com" instead of "hotmail.com"

It's called a wildcards characters.

I will try it and I will get back to you. Thanks!

it works like a charm. Thanks again for your help!

But Cs-cart itself says that this can be done. And now it needs to be custom fixed? :? :confused:

My bad, sorry. There are always things you do not know