Comments 1CHARIT started the conversationDecember 4, 2024 at 3:04amHi, I have a question about the product Inquiry form. Can I setting form for only login user can submit. 2,281WebWizards repliedDecember 5, 2024 at 3:54pmHi, To achieve that, please add this PHP snippet to your site: add_filter('marketking_get_inquiries_form', function($content){ if (!is_user_logged_in()){ return 'To send an inquiry, please first log in.'; } return $content; }, 10, 1); Logged out users will then see: Kind regards, Stefan1 Like 50Anthony O Connell repliedDecember 5, 2024 at 6:20pmHi guys. This ticket I feel is relevant to me as well.Is it possible to do this for the main contact form on the vendors store as well?Thanks1 Like 2,281WebWizards repliedDecember 9, 2024 at 12:05amHi there, This code snippet applies to the vendor store contact form, as well as the product page inquiry form, so I think it should work for you.1 Like Sign in to reply ...
Hi, I have a question about the product Inquiry form. Can I setting form for only login user can submit.
Hi,
To achieve that, please add this PHP snippet to your site:
Logged out users will then see:
Kind regards,
Stefan
Hi guys.
This ticket I feel is relevant to me as well.
Is it possible to do this for the main contact form on the vendors store as well?
Thanks
Hi there,
This code snippet applies to the vendor store contact form, as well as the product page inquiry form, so I think it should work for you.