How to prevent guests (no registered visitors) to contact vendors or to use "contact us" item?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 year ago
Hi, we have a B2B Nopcommerce web platform but we have a lot of spam from guests that send their commercial emails to us or to our vendors. How can we restrict guests from using contact forms?
We restricted the "email a friend" to registered customers only, but we need to restrict and the "contact us" and "contact vendor" too.
Thank you
Vasko
1 year ago
Hi Vasko,

you can enable Captcha from admin site

Admin>Setting>General settings>Captcha
1 year ago
You can "restrict guests from using contact forms", but it would require customization.   It's possible to do it in the .cshtml file (which would not require building the project in Visual Studio) by "Resolve"  a service to determine customer IsRegistered, and redirect if not.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.