How to Restrict Customer from Adding Product to Cart in Magento 2
The post shows the answer for Restrict Customer from Adding Product to Cart in Magento 2.
You might utilize this arrangement when you are running a deal where conditions should be checked for qualification to profit limits before the clients put in a request. Till then, at that point, the administrator can confine clients to add items to the truck or update the truck.
Likewise, in the event that you are tolerating orders in light of conditions, for example, just a specific client gathering can put in a request, or clients from explicit areas can submit the request, in these cases, you might confine them to add the item to the truck until the circumstances are checked.
For more info: https://meetanshi.com/blog/restrict-customer-from-adding-product-to-cart-in-magento-2/